.elp-app,
.elp-app * {
    box-sizing: border-box;
}

html.elp-no-scroll,
body.elp-no-scroll {
    overflow: hidden !important;
    /* Do not disable pan gestures on ancestors of scrollable dialogs. */
    touch-action: auto;
}

body.elp-standalone {
    margin: 0;
    min-height: 100vh;
    background: var(--elp-bg, #fbf7ef);
}

.elp-app {
    --elp-radius-xl: 34px;
    --elp-radius-lg: 24px;
    --elp-shadow: 0 22px 70px rgba(45, 40, 28, .14);
    position: relative;
    min-height: 100vh;
    padding: clamp(18px, 3vw, 42px);
    background:
        linear-gradient(180deg, rgba(251,247,239,.88), rgba(251,247,239,.98)),
        var(--elp-paper, none),
        var(--elp-bg, #fbf7ef);
    color: #34362f;
    overflow-x: hidden;
    font-family:var(--elp-font-family,"Roboto",Arial,sans-serif);
}

.elp-app a { text-decoration: none; }
.elp-app button { font-family: inherit; }

.elp-splash {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(circle at 50% 30%, rgba(198,156,91,.18), transparent 36%), linear-gradient(180deg, #fffaf0, #f4ead8);
    opacity: 1;
    transition: opacity .55s ease, visibility .55s ease;
}

.elp-splash.is-hidden { opacity: 0; visibility: hidden; }

.elp-splash-card {
    width: min(420px, 92vw);
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 34px 28px;
    border-radius: 34px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(198,156,91,.25);
    box-shadow: var(--elp-shadow);
    text-align: center;
}

.elp-splash-card img { width: min(260px, 74vw); height: auto; display: block; }
.elp-splash-card strong { color: var(--elp-primary, #47634a); font-family:var(--elp-font-family,"Roboto",Arial,sans-serif); font-size: 26px; }
.elp-splash-card span { color: #776f60; font-weight: 750; }
.elp-splash-card i { width: 160px; height: 5px; overflow: hidden; border-radius: 999px; background: rgba(71,99,74,.14); position: relative; }
.elp-splash-card i::after { content: ""; position: absolute; inset: 0; width: 45%; border-radius: inherit; background: var(--elp-accent, #c69c5b); animation: elp-loading 1.15s ease-in-out infinite; }
@keyframes elp-loading { 0% { transform: translateX(-110%); } 100% { transform: translateX(250%); } }

.elp-main-hero,
.elp-page-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: clamp(560px, 78vh, 820px);
    overflow: hidden;
    border-radius: clamp(28px, 4vw, 56px);
    background: linear-gradient(180deg, rgba(255,255,255,.50), rgba(251,247,239,.92)), var(--elp-hero-image, none) center/cover no-repeat;
    border: 1px solid rgba(198,156,91,.26);
    box-shadow: var(--elp-shadow);
    text-align: center;
}

.elp-main-hero::before,
.elp-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 20% 20%, rgba(198,156,91,.18), transparent 30%), radial-gradient(circle at 80% 80%, rgba(71,99,74,.16), transparent 34%);
}

.elp-main-hero__content {
    width: min(980px, 92vw);
    display: grid;
    justify-items: center;
    padding: clamp(28px, 5vw, 70px);
    border-radius: clamp(26px, 4vw, 48px);
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.72);
    backdrop-filter: blur(8px);
}

.elp-main-logo,
.elp-page-logo { display: block; width: min(340px, 78vw); height: auto; margin: 0 auto 18px; }
.elp-page-logo { width: min(250px, 68vw); }

.elp-kicker { margin: 0 0 10px; color: var(--elp-accent, #c69c5b); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 850; }
.elp-main-hero h1,
.elp-page-hero h1 { margin: 0; max-width: 900px; font-family:var(--elp-font-family,"Roboto",Arial,sans-serif); font-weight: 500; line-height: .96; color: var(--elp-primary, #47634a); font-size: clamp(44px, 8vw, 92px); }
.elp-page-hero h1 { font-size: clamp(38px, 6vw, 74px); }
.elp-page-hero h2 { margin: 18px 0 0; color: var(--elp-primary, #47634a); }
.elp-intro { max-width: 780px; margin: 20px auto 0; font-size: clamp(16px, 2vw, 19px); line-height: 1.7; }

.elp-main-actions,
.elp-card-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.elp-button { appearance: none; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: var(--elp-primary, #47634a); color: #fff !important; font-weight: 850; text-decoration: none !important; cursor: pointer; box-shadow: 0 12px 30px rgba(71,99,74,.20); transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease; }
.elp-button:hover,
.elp-button:focus { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(71,99,74,.26); }
.elp-button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.elp-button-gold { background: var(--elp-accent, #c69c5b); }
.elp-button-light { background: #fff; color: var(--elp-primary, #47634a) !important; border: 1px solid rgba(71,99,74,.22); box-shadow: none; }

.elp-choice-grid,
.elp-info-grid { width: min(1180px, 100%); margin-left: auto; margin-right: auto; }
.elp-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); margin-top: clamp(22px, 4vw, 42px); }
.elp-choice-card,
.elp-info-card { border: 1px solid rgba(198,156,91,.22); border-radius: var(--elp-radius-xl); background: rgba(255,255,255,.88); box-shadow: var(--elp-shadow); padding: clamp(20px, 4vw, 36px); }
.elp-choice-card { display: grid; gap: 12px; align-content: start; }
.elp-choice-card span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: rgba(198,156,91,.14); font-size: 26px; }
.elp-choice-card h2,
.elp-info-card h2 { margin: 0; color: var(--elp-primary, #47634a); font-family:var(--elp-font-family,"Roboto",Arial,sans-serif); font-size: clamp(26px, 4vw, 40px); font-weight: 500; }
.elp-choice-card p { margin: 0; color: #67685f; line-height: 1.7; }
.elp-choice-card a { color: var(--elp-primary, #47634a); font-weight: 900; }

.elp-page-hero { min-height: auto; padding: clamp(72px, 10vw, 120px) clamp(22px, 5vw, 70px) clamp(44px, 8vw, 80px); }
.elp-back-link { position: absolute; top: 22px; left: 22px; z-index: 3; color: var(--elp-primary, #47634a) !important; font-weight: 900; background: rgba(255,255,255,.82); border: 1px solid rgba(198,156,91,.22); border-radius: 999px; padding: 10px 14px; }
.elp-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); margin-top: clamp(22px, 4vw, 42px); }
.elp-info-card-wide { grid-column: 1 / -1; }
.elp-info-card strong { display: block; color: var(--elp-primary, #47634a); font-size: 20px; }
.elp-info-card p { color: #67685f; line-height: 1.7; }
.elp-countdown-big { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.elp-countdown-big span { min-width: 106px; display: grid; gap: 4px; padding: 18px 16px; border-radius: 24px; background: linear-gradient(180deg, rgba(198,156,91,.13), rgba(71,99,74,.08)); text-align: center; }
.elp-countdown-big strong { font-size: clamp(30px, 5vw, 54px); line-height: 1; color: var(--elp-primary, #47634a); }
.elp-countdown-big em { font-style: normal; text-transform: uppercase; font-weight: 850; font-size: 12px; letter-spacing: .1em; color: #7c765d; }
.elp-countdown-big b { display: inline-flex; padding: 14px 18px; border-radius: 999px; background: rgba(71,99,74,.10); color: var(--elp-primary, #47634a); }
.elp-bus-columns,
.elp-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.elp-bus-columns h3 { margin: 0 0 12px; color: var(--elp-accent, #c69c5b); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.elp-timeline { display: grid; gap: 12px; }
.elp-timeline-item { position: relative; display: grid; gap: 3px; padding: 14px 14px 14px 20px; border-left: 4px solid var(--elp-accent, #c69c5b); border-radius: 18px; background: rgba(71,99,74,.06); }
.elp-timeline-item time { font-weight: 900; color: var(--elp-primary, #47634a); }
.elp-timeline-item strong { color: #34362f; font-size: 17px; }
.elp-timeline-item p { margin: 0; }
.elp-iban-box { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px; border-radius: 20px; background: rgba(198,156,91,.12); }
.elp-iban-box strong { letter-spacing: .06em; overflow-wrap: anywhere; }
.elp-contact-card { display: grid; gap: 8px; padding: 18px; border-radius: 22px; background: rgba(71,99,74,.07); }
.elp-contact-card span { color: #62645c; font-weight: 750; }
.elp-contact-card .elp-button { justify-self: start; margin-top: 6px; }

/* El Patio social compatible con Divi: plugin, app completa sin menús del tema */
.elp-app-feed,
.elp-app-stories {
    padding: 0 clamp(10px, 2vw, 20px) 34px;
    background: #fafafa;
    color: #262626;
}

.elp-ig-shell { width: min(620px, 100%); margin: 0 auto; position: relative; min-height: 100vh; }
.elp-ig-topbar { position: sticky; top: 0; z-index: 50; min-height: 66px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; background: rgba(250,250,250,.95); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(0,0,0,.08); }
.elp-ig-brand { min-width: 0; display: inline-flex; align-items: center; gap: 10px; color: #262626 !important; }
.elp-ig-brand img { width: 52px; height: 52px; object-fit: contain; flex: 0 0 auto; }
.elp-ig-brand span { min-width: 0; display: grid; line-height: 1.05; }
.elp-ig-brand strong { font-family:var(--elp-font-family,"Roboto",Arial,sans-serif); color: var(--elp-primary, #47634a); font-size: clamp(24px, 4vw, 32px); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elp-ig-brand small { color: #8e8e8e; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 10px; }
.elp-ig-top-actions { display: inline-flex; align-items: center; gap: 8px; }
.elp-ig-icon-button { width: 42px; height: 42px; border: 1px solid rgba(0,0,0,.10); border-radius: 999px; display: inline-grid; place-items: center; background: #fff; color: #262626 !important; box-shadow: 0 8px 20px rgba(0,0,0,.06); cursor: pointer; font: inherit; font-size: 22px; font-weight: 900; line-height: 1; text-decoration: none !important; }
.elp-ig-icon-button-plus { background: #262626; color: #fff !important; border-color: #262626; }
.elp-ig-stories { margin: 10px 0 12px; padding: 12px 0 10px; border-bottom: 1px solid rgba(0,0,0,.08); background: #fafafa; }
.elp-ig-stories-rail { display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; padding: 0 2px 6px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.elp-ig-stories-rail::-webkit-scrollbar { display: none; }
.elp-stories-strip { display: flex; gap: 12px; }
.elp-story-bubble { flex: 0 0 auto; width: 78px; border: 0; background: transparent; display: grid; justify-items: center; gap: 7px; cursor: pointer; color: #262626; font: inherit; scroll-snap-align: start; padding: 0; }
.elp-story-thumb { width: 68px; height: 68px; border-radius: 50%; padding: 3px; display: block; background: conic-gradient(from 90deg, #f58529, #dd2a7b, #8134af, #515bd4, #f58529); }
.elp-story-thumb img,
.elp-story-thumb video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid #fff; background: #eee; }
.elp-story-bubble strong { width: 100%; font-size: 11px; line-height: 1.15; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elp-story-create .elp-story-thumb em { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: #fff; color: #262626; font-size: 30px; font-style: normal; font-weight: 900; }
.elp-ig-banner { display: grid; gap: 5px; margin: 12px 0; padding: 14px 16px; border-radius: 18px; background: #fff8e8; border: 1px solid rgba(198,156,91,.28); color: #655438; }
.elp-ig-banner strong { color: var(--elp-primary, #47634a); }
.elp-ig-feed-section { width: 100%; margin: 0 auto; padding: 0 0 28px; border: 0; background: transparent; box-shadow: none; }
.elp-ig-feed { display: grid !important; grid-template-columns: 1fr !important; gap: 20px; }
.elp-ig-feed.is-loading::before { content: "Cargando recuerdos…"; display: block; padding: 30px; text-align: center; color: #8e8e8e; font-weight: 800; }
.elp-card.elp-ig-post { border-radius: 0; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,.10); box-shadow: none; }
.elp-post-header { min-height: 58px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 13px; }
.elp-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(from 120deg, var(--elp-accent, #c69c5b), #d96b80, var(--elp-primary, #47634a), var(--elp-accent, #c69c5b)); color: #fff; font-size: 13px; font-weight: 900; box-shadow: inset 0 0 0 3px rgba(255,255,255,.85); }
.elp-post-who { min-width: 0; display: grid; gap: 1px; }
.elp-post-who strong { color: #262626; font-size: 14px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elp-post-who small { color: #8e8e8e; font-weight: 650; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elp-post-menu { color: #8e8e8e; font-size: 18px; font-weight: 900; letter-spacing: .08em; }
.elp-media-wrap { position: relative; width: 100%; aspect-ratio: 1 / 1; background: #efefef; overflow: hidden; cursor: zoom-in; border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06); }
.elp-media-wrap img,
.elp-media-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.elp-video-badge { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; background: rgba(0,0,0,.52); color: #fff; font-size: 14px; }
.elp-card-body { padding: 10px 13px 14px; }
.elp-actions { display: flex; align-items: center; gap: 16px; margin: 0 0 6px; }
.elp-ig-actions button { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 0; background: transparent; color: #262626; padding: 0; font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.elp-ig-actions .elp-open-icon { margin-left: auto; color: #555; font-size: 21px; }
.elp-like.is-liked { color: #ed4956; }
.elp-like-count { margin: 0 0 8px; color: #262626; font-size: 14px; font-weight: 850; }
.elp-caption { margin: 0 0 8px; color: #262626; font-size: 14px; line-height: 1.52; white-space: pre-line; }
.elp-feed-footer { display: flex; justify-content: center; margin: 22px 0 8px; }
.elp-empty { padding: 32px; text-align: center; border-radius: 18px; background: #fff; border: 1px solid rgba(0,0,0,.08); color: #8e8e8e; font-weight: 750; }
.elp-empty-inline { width: 100%; padding: 16px; border: 0; background: transparent; }

.elp-viewer { position: fixed; z-index: 2147482500; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.88); }
.elp-viewer[hidden] { display: none !important; }
.elp-viewer-content { max-width: min(96vw, 1100px); max-height: 90vh; }
.elp-viewer-frame { display: grid; gap: 12px; justify-items: center; }
.elp-viewer-content img,
.elp-viewer-content video { max-width: 100%; max-height: 82vh; border-radius: 16px; box-shadow: 0 30px 90px rgba(0,0,0,.45); background: #000; }
.elp-viewer-info { width: min(100%, 760px); padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.94); color: #262626; }
.elp-viewer-info p { margin: 0; white-space: pre-line; }
.elp-viewer-close { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; width: 46px; height: 46px; border: 0; border-radius: 999px; background: #fff; color: #111; font-size: 32px; line-height: 1; cursor: pointer; }

.elp-choice-modal,
.elp-review-modal,
.elp-editor-modal,
.elp-uploading { position: fixed; inset: 0; z-index: 2147482400; display: grid; place-items: center; padding: 18px; }
.elp-choice-modal[hidden],
.elp-review-modal[hidden],
.elp-editor-modal[hidden],
.elp-uploading[hidden] { display: none !important; }
.elp-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.56); opacity: 0; transition: opacity .16s ease; }
.elp-choice-modal.is-open .elp-modal-backdrop,
.elp-review-modal.is-open .elp-modal-backdrop,
.elp-editor-modal.is-open .elp-modal-backdrop { opacity: 1; }
.elp-choice-dialog,
.elp-review-dialog,
.elp-editor-dialog { position: relative; z-index: 1; width: min(420px, 100%); border-radius: 24px; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.32); transform: translateY(12px) scale(.98); opacity: 0; transition: transform .18s ease, opacity .18s ease; }
.elp-choice-modal.is-open .elp-choice-dialog,
.elp-review-modal.is-open .elp-review-dialog,
.elp-editor-modal.is-open .elp-editor-dialog { transform: translateY(0) scale(1); opacity: 1; }
.elp-choice-dialog { display: grid; gap: 10px; padding: 18px; }
.elp-choice-dialog h2,
.elp-editor-dialog h2 { margin: 0 0 6px; color: #262626; text-align: center; font-size: 20px; }
.elp-choice-action { min-height: 62px; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; border: 1px solid rgba(0,0,0,.10); border-radius: 18px; background: #fafafa; padding: 10px 14px; cursor: pointer; text-align: left; color: #262626; }
.elp-choice-action span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 24px; box-shadow: 0 8px 18px rgba(0,0,0,.06); }
.elp-choice-action strong { font-size: 15px; }
.elp-choice-cancel { border: 0; background: transparent; color: #8e8e8e; min-height: 44px; font-weight: 850; cursor: pointer; }

.elp-review-dialog { width: min(580px, 100%); max-height: 88vh; overflow: auto; }
.elp-review-dialog header { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 12px; border-bottom: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }
.elp-review-dialog header h2 { margin: 0; text-align: center; font-size: 17px; }
.elp-review-dialog header button { border: 0; background: transparent; color: #262626; font-weight: 900; cursor: pointer; }
.elp-review-dialog header button:first-child { width: 40px; height: 40px; border-radius: 50%; background: #f1f1f1; font-size: 28px; line-height: 1; }
.elp-review-dialog header button:last-child { color: var(--elp-primary, #47634a); padding: 8px 6px; }
.elp-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; padding: 12px; }
.elp-review-tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; background: #eee; }
.elp-review-tile img,
.elp-review-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.elp-review-tile em { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.5); font-size: 28px; font-style: normal; }
.elp-upload-status { min-height: 24px; padding: 0 14px 14px; color: var(--elp-primary, #47634a); font-weight: 750; text-align: center; }
.elp-upload-status.is-error { color: #b00020; }

.elp-camera-screen { position: fixed; inset: 0; z-index: 2147482600; background: #000; color: #fff; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s ease; }
.elp-camera-screen[hidden] { display: none !important; }
.elp-camera-screen.is-open { opacity: 1; visibility: visible; }
.elp-camera-screen > video,
.elp-camera-preview,
.elp-camera-preview img,
.elp-camera-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.elp-camera-screen > video.is-selfie { transform: scaleX(-1); }
.elp-camera-preview[hidden] { display: none !important; }
.elp-camera-preview video { background: #000; }
.elp-story-overlay-layer { position: absolute; inset: 0; z-index: 20; pointer-events: auto; touch-action: none; }
.elp-story-overlay-item { position: absolute; left: 50%; top: 50%; z-index: 21; max-width: 86%; transform: translate(-50%, -50%); color: #fff; font-weight: 950; line-height: 1.12; text-align: center; text-shadow: 0 2px 5px rgba(0,0,0,.72), 0 0 18px rgba(0,0,0,.28); white-space: pre-wrap; overflow-wrap: anywhere; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; padding: 4px 8px; border-radius: 12px; }
.elp-story-overlay-item:active { cursor: grabbing; }
.elp-story-overlay-item.is-selected { outline: 2px dashed rgba(255,255,255,.9); background: rgba(0,0,0,.18); }
.elp-story-overlay-item.is-emoji { line-height: 1; padding: 3px; }
.elp-story-overlay-item.is-font-divertida { font-family: "Comic Sans MS", "Trebuchet MS", system-ui, sans-serif; }
.elp-story-overlay-item.is-font-elegante { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.elp-story-overlay-item.is-font-cl-sica { font-family: "Times New Roman", Georgia, serif; font-weight: 700; }
.elp-story-overlay-item.is-font-manuscrita { font-family: "Segoe Script", "Brush Script MT", cursive; font-weight: 700; }
.elp-camera-top-actions { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; z-index: 40; display: flex; flex-direction: column; gap: 8px; }
.elp-camera-top-actions button { width: 46px; height: 46px; border: 0; border-radius: 999px; display: grid; place-items: center; background: rgba(0,0,0,.42); color: #fff; font-size: 20px; font-weight: 900; cursor: pointer; backdrop-filter: blur(12px); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.elp-camera-top-actions button:first-child { font-size: 30px; line-height: 1; }
.elp-record-count { position: absolute; z-index: 42; top: calc(18px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(237,73,86,.92); color: #fff; font-size: 24px; font-weight: 950; }
.elp-record-count[hidden] { display: none !important; }
.elp-camera-status { position: absolute; z-index: 35; left: 14px; right: 80px; top: calc(16px + env(safe-area-inset-top, 0px)); min-height: 42px; display: flex; align-items: center; justify-content: center; padding: 9px 12px; border-radius: 999px; background: rgba(0,0,0,.34); color: #fff; text-align: center; font-size: 13px; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,.5); pointer-events: none; backdrop-filter: blur(10px); }
.elp-camera-status.is-error { background: rgba(176,0,32,.72); }
.elp-camera-capturebar { position: absolute; z-index: 36; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; gap: 9px; padding: 0 18px; pointer-events: none; }
.elp-camera-capturebar[hidden] { display: none !important; }
.elp-camera-capturebar p { margin: 0; padding: 7px 12px; border-radius: 999px; background: rgba(0,0,0,.36); color: #fff; text-align: center; font-size: 12px; font-weight: 750; backdrop-filter: blur(9px); pointer-events: auto; }
.elp-capture-button { appearance: none; width: 88px; height: 88px; display: grid; place-items: center; border: 5px solid rgba(255,255,255,.92); border-radius: 999px; background: rgba(255,255,255,.2); cursor: pointer; box-shadow: 0 14px 34px rgba(0,0,0,.28); touch-action: none; pointer-events: auto; }
.elp-capture-button span { width: 66px; height: 66px; display: block; border-radius: inherit; background: #fff; transition: transform .14s ease, background .14s ease, border-radius .14s ease; }
.elp-capture-button:active span,
.elp-camera-screen.is-recording .elp-capture-button span { transform: scale(.72); background: #ed4956; border-radius: 18px; }
.elp-camera-reviewbar { position: absolute; z-index: 36; left: 0; right: 0; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 18px; }
.elp-camera-reviewbar[hidden] { display: none !important; }
.elp-camera-reviewbar button { min-height: 52px; border: 0; border-radius: 999px; font-size: 16px; font-weight: 950; cursor: pointer; box-shadow: 0 12px 32px rgba(0,0,0,.24); }
.elp-story-publish { background: #fff; color: #111; }
.elp-story-delete { background: rgba(0,0,0,.48); color: #fff; backdrop-filter: blur(10px); }
.elp-camera-screen.has-capture.is-feed-mode [data-elp-camera-switch],
.elp-camera-screen.has-capture [data-elp-camera-switch] { display: none; }
.elp-camera-screen.is-feed-mode [data-elp-story-tool],
.elp-camera-screen.is-feed-mode [data-elp-story-sound] { display: none !important; }
.elp-camera-screen.is-muted [data-elp-toggle-sound] { background: rgba(237,73,86,.72); }

.elp-editor-modal { z-index: 2147482700; }
.elp-editor-dialog { display: grid; gap: 12px; padding: 18px; }
.elp-editor-dialog textarea,
.elp-editor-dialog select { width: 100%; border: 1px solid rgba(0,0,0,.12); border-radius: 16px; padding: 12px; font: inherit; outline: none; }
.elp-editor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.elp-editor-row label,
.elp-editor-font { display: grid; gap: 6px; color: #555; font-size: 13px; font-weight: 850; }
.elp-editor-row input[type="color"] { width: 100%; height: 42px; border: 0; border-radius: 14px; padding: 0; background: transparent; }
.elp-editor-row input[type="range"] { width: 100%; }
.elp-editor-actions { display: flex; justify-content: flex-end; gap: 8px; }
.elp-editor-actions button { min-height: 42px; border: 0; border-radius: 999px; padding: 9px 15px; font-weight: 900; cursor: pointer; }
.elp-editor-actions button:last-child { background: #262626; color: #fff; }
.elp-emoji-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.elp-emoji-grid button { aspect-ratio: 1 / 1; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; background: #fafafa; font-size: 28px; cursor: pointer; }

.elp-uploading { z-index: 2147482800; background: rgba(0,0,0,.56); }
.elp-uploading > div { width: min(420px, 88vw); display: grid; gap: 10px; padding: 24px; border-radius: 24px; background: #fff; color: #262626; text-align: center; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.elp-uploading strong { color: var(--elp-primary, #47634a); font-size: 18px; }
.elp-uploading span { color: #666; font-weight: 750; }
.elp-uploading i { height: 8px; border-radius: 999px; background: #ececec; overflow: hidden; }
.elp-uploading em { display: block; width: 0%; height: 100%; background: linear-gradient(90deg, var(--elp-primary, #47634a), var(--elp-accent, #c69c5b)); border-radius: inherit; transition: width .2s ease; }

@media (max-width: 980px) {
    .elp-choice-grid,
    .elp-info-grid,
    .elp-bus-columns,
    .elp-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .elp-app { padding-left: 12px; padding-right: 12px; }
    .elp-main-hero,
    .elp-page-hero,
    .elp-choice-card,
    .elp-info-card { border-radius: 24px; }
    .elp-main-hero { min-height: 74vh; }
    .elp-main-hero__content { padding: 24px 16px; }
    .elp-main-logo { width: min(280px, 82vw); }
    .elp-main-actions { width: 100%; }
    .elp-main-actions .elp-button { width: 100%; }
    .elp-back-link { position: relative; top: auto; left: auto; margin-bottom: 22px; }
    .elp-page-hero { padding-top: 28px; }
    .elp-countdown-big span { min-width: calc(50% - 6px); }
    .elp-app-feed,
    .elp-app-stories { padding-left: 0; padding-right: 0; }
    .elp-ig-shell { width: 100%; }
    .elp-ig-topbar { padding-left: 10px; padding-right: 10px; }
    .elp-card.elp-ig-post { border-left: 0; border-right: 0; }
    .elp-ig-brand small { display: none; }
    .elp-ig-brand img { width: 48px; height: 48px; }
    .elp-ig-icon-button { width: 40px; height: 40px; }
    .elp-choice-modal,
    .elp-review-modal,
    .elp-editor-modal { align-items: end; padding: 0; }
    .elp-choice-dialog,
    .elp-review-dialog,
    .elp-editor-dialog { width: 100%; border-radius: 24px 24px 0 0; transform: translateY(100%); }
    .elp-choice-modal.is-open .elp-choice-dialog,
    .elp-review-modal.is-open .elp-review-dialog,
    .elp-editor-modal.is-open .elp-editor-dialog { transform: translateY(0); }
    .elp-camera-status { right: 70px; font-size: 12px; }
    .elp-camera-top-actions button { width: 44px; height: 44px; }
    .elp-capture-button { width: 84px; height: 84px; }
    .elp-capture-button span { width: 62px; height: 62px; }
}

@supports (height: 100dvh) {
    .elp-camera-screen,
    .elp-camera-screen > video,
    .elp-camera-preview,
    .elp-camera-preview img,
    .elp-camera-preview video {
        height: 100dvh;
    }
}

/* Bloqueo de El Patio para uso exclusivamente móvil */
.elp-mobile-content { min-height: inherit; }
.elp-mobile-only-gate[hidden] { display: none !important; }
.elp-mobile-denied {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(20px, 4vw, 56px);
    background:
        radial-gradient(circle at 50% 12%, rgba(198,156,91,.20), transparent 34%),
        linear-gradient(180deg, rgba(251,247,239,.95), rgba(244,234,216,.98)),
        var(--elp-paper, none),
        var(--elp-bg, #fbf7ef);
}
.elp-mobile-denied .elp-mobile-content { display: none !important; }
.elp-mobile-denied .elp-mobile-only-gate {
    display: grid !important;
    width: min(560px, 100%);
    min-height: min(720px, 100vh);
    place-items: center;
}
.elp-mobile-only-card {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: clamp(26px, 5vw, 44px);
    border-radius: 34px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(198,156,91,.28);
    box-shadow: 0 28px 80px rgba(45,40,28,.16);
    text-align: center;
    backdrop-filter: blur(10px);
}
.elp-mobile-only-card img { width: min(270px, 72vw); height: auto; display: block; }
.elp-mobile-only-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(71,99,74,.10);
    font-size: 34px;
}
.elp-mobile-only-card h1 {
    margin: 0;
    max-width: 440px;
    font-family:var(--elp-font-family,"Roboto",Arial,sans-serif);
    font-weight: 500;
    font-size: clamp(34px, 7vw, 54px);
    line-height: 1;
    color: var(--elp-primary, #47634a);
}
.elp-mobile-only-card .elp-intro { margin-top: 0; font-size: 17px; }
.elp-mobile-url {
    width: 100%;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(71,99,74,.07);
    color: #585a51;
    font-weight: 800;
    overflow-wrap: anywhere;
}

@media (min-width: 1101px), (min-width: 541px) and (min-height: 541px) {
    .elp-mobile-only-enabled {
        min-height: 100vh;
        display: grid;
        place-items: center;
        padding: clamp(20px, 4vw, 56px);
        background:
            radial-gradient(circle at 50% 12%, rgba(198,156,91,.20), transparent 34%),
            linear-gradient(180deg, rgba(251,247,239,.95), rgba(244,234,216,.98)),
            var(--elp-paper, none),
            var(--elp-bg, #fbf7ef);
    }
    .elp-mobile-only-enabled .elp-mobile-content { display: none !important; }
    .elp-mobile-only-enabled .elp-mobile-only-gate {
        display: grid !important;
        width: min(560px, 100%);
        min-height: min(720px, 100vh);
        place-items: center;
    }
}

/* ==========================================================
   v2.6.0 · Refresco responsive estilo web oficial Luis & Miguel
   Compatible con Divi: app limpia, elegante y usable en web/tablet/móvil.
   ========================================================== */
.elp-app{
    --elp-green:#153f2c;
    --elp-green-2:#2f6649;
    --elp-gold:#bc8734;
    --elp-gold-2:#d8b376;
    --elp-ivory:#fffdf9;
    --elp-soft:#faf8f3;
    --elp-cream:#f5efe4;
    --elp-ink:#25362d;
    --elp-muted:#68756d;
    --elp-line:rgba(188,135,52,.25);
    --elp-shadow-official:0 18px 54px rgba(40,32,22,.10);
    --elp-shadow-soft:0 10px 28px rgba(40,32,22,.07);
    --elp-serif:'Cormorant Garamond', Georgia, serif;
    --elp-sans:'Montserrat', Arial, sans-serif;
    min-height:100svh;
    padding:0!important;
    font-family:var(--elp-sans)!important;
    line-height:1.5;
    color:var(--elp-ink);
    background:
        radial-gradient(ellipse at 12% 5%,rgba(216,179,118,.18),transparent 32%),
        radial-gradient(ellipse at 88% 18%,rgba(21,63,44,.07),transparent 34%),
        linear-gradient(180deg,#fff,var(--elp-soft) 100%);
    -webkit-font-smoothing:antialiased;
    text-rendering:geometricPrecision;
}
.elp-app::before{
    content:"";
    position:fixed;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:
        var(--elp-paper, none) center/460px auto repeat,
        radial-gradient(ellipse at 48% -8%,rgba(188,135,52,.10),transparent 40%);
    opacity:.42;
}
.elp-mobile-content{position:relative;z-index:1;min-height:inherit;}
body.elp-standalone{background:#fff!important;color:var(--elp-ink,#25362d);}
body.elp-standalone #page-container,
body.elp-standalone #et-main-area,
body.elp-standalone #main-content{padding-top:0!important;background:transparent!important;}

.elp-splash{
    background:
        radial-gradient(ellipse at 50% 24%,rgba(216,179,118,.23),transparent 35%),
        linear-gradient(180deg,#fffdf9,#f5efe4);
    transition:opacity .72s ease,visibility .72s ease;
}
.elp-splash-card{
    width:min(460px,calc(100vw - 34px));
    padding:clamp(30px,5vw,46px) clamp(22px,4vw,36px);
    border-radius:34px;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(188,135,52,.28);
    box-shadow:0 24px 80px rgba(21,63,44,.18);
    backdrop-filter:blur(16px);
}
.elp-splash-card img{width:min(260px,66vw);filter:drop-shadow(0 16px 24px rgba(21,63,44,.12));animation:elpLogoPulse 1.8s ease-in-out infinite;}
.elp-splash-card strong{font-family:var(--elp-serif);font-size:clamp(28px,5vw,38px);font-weight:500;color:var(--elp-green);}
.elp-splash-card span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.14em;color:var(--elp-muted);}
.elp-splash-card i{height:1px;width:140px;background:linear-gradient(90deg,transparent,var(--elp-gold),transparent);border-radius:0;}
.elp-splash-card i::after{width:42%;height:3px;top:-1px;background:linear-gradient(90deg,var(--elp-gold),var(--elp-gold-2));box-shadow:0 0 18px rgba(188,135,52,.42);}
@keyframes elpLogoPulse{0%,100%{transform:scale(.985);opacity:.88}50%{transform:scale(1.018);opacity:1}}

.elp-main-hero,
.elp-page-hero{
    min-height:100svh;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:
        radial-gradient(ellipse at 50% 34%,rgba(255,255,255,.99) 0%,rgba(255,255,255,.90) 22%,rgba(255,255,255,.66) 48%,rgba(255,255,255,.36) 72%,rgba(255,255,255,.18) 100%),
        linear-gradient(180deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,.18) 56%,#fff 100%),
        var(--elp-hero-image, none) center top / max(1320px,100vw) auto no-repeat;
    padding:clamp(36px,6vh,74px) 18px 54px;
}
.elp-main-hero::before,
.elp-page-hero::before{
    background:
        radial-gradient(ellipse at 16% 20%,rgba(216,179,118,.13),transparent 34%),
        radial-gradient(ellipse at 88% 72%,rgba(21,63,44,.055),transparent 30%),
        radial-gradient(ellipse at 48% 110%,rgba(188,135,52,.07),transparent 36%);
    opacity:.80;
    animation:elpSoftBackgroundDrift 24s ease-in-out infinite alternate;
}
.elp-main-hero::after,
.elp-page-hero::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:128px;
    z-index:-1;
    pointer-events:none;
    background:linear-gradient(180deg,transparent,#fff 76%);
}
.elp-main-hero__content{
    width:min(850px,100%);
    padding:clamp(18px,2.5vw,30px) 12px;
    background:radial-gradient(ellipse at center,rgba(255,255,255,.93) 0%,rgba(255,255,255,.72) 45%,rgba(255,255,255,.24) 74%,transparent 100%);
    border:0;
    box-shadow:none;
    backdrop-filter:blur(2px);
    animation:elpHeroIn .9s cubic-bezier(.2,.8,.2,1) both;
}
.elp-main-logo,.elp-page-logo{
    width:clamp(250px,27vw,430px);
    margin:0 auto clamp(12px,2vh,22px);
    object-fit:contain;
    filter:drop-shadow(0 12px 18px rgba(21,63,44,.18));
}
.elp-page-logo{width:clamp(210px,22vw,320px);}
.elp-kicker{
    margin:0 auto 8px;
    color:var(--elp-green);
    font:800 12px/1.65 var(--elp-sans);
    text-transform:uppercase;
    letter-spacing:.20em;
}
.elp-ornament{
    display:block;
    width:126px;
    height:16px;
    margin:12px auto 18px;
    position:relative;
    background:radial-gradient(circle at 50% 50%,var(--elp-gold) 0 3px,transparent 4px);
}
.elp-ornament::before,.elp-ornament::after{
    content:"";
    position:absolute;
    top:50%;
    width:47px;
    height:1px;
    background:linear-gradient(90deg,transparent,var(--elp-gold));
}
.elp-ornament::before{left:0;}
.elp-ornament::after{right:0;transform:scaleX(-1);}
.elp-main-hero h1,.elp-page-hero h1{
    font-family:var(--elp-serif)!important;
    color:var(--elp-green)!important;
    font-weight:500!important;
    letter-spacing:-.025em;
    text-wrap:balance;
}
.elp-intro{
    color:var(--elp-muted);
    font-size:clamp(15px,1.5vw,18px);
    line-height:1.72;
}
.elp-main-actions,.elp-card-actions{gap:14px;margin-top:28px;}
.elp-button{
    position:relative;
    overflow:hidden;
    min-height:48px;
    padding:0 27px;
    border-radius:999px;
    border:1px solid transparent;
    background:var(--elp-green);
    color:#fff!important;
    font:800 11px/1 var(--elp-sans);
    text-transform:uppercase;
    letter-spacing:.11em;
    box-shadow:0 14px 32px rgba(21,63,44,.18);
    transition:transform .28s ease,box-shadow .28s ease,background .28s ease,border-color .28s ease,color .28s ease;
}
.elp-button::after{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:-46%;
    width:34%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);
    transform:skewX(-18deg);
    transition:left .55s ease;
}
.elp-button:hover,.elp-button:focus{transform:translateY(-3px);box-shadow:0 18px 38px rgba(21,63,44,.18);}
.elp-button:hover::after,.elp-button:focus::after{left:115%;}
.elp-button-gold{background:var(--elp-gold);border-color:var(--elp-gold);}
.elp-button-light{background:rgba(255,255,255,.88);border-color:rgba(188,135,52,.38);color:var(--elp-green)!important;box-shadow:0 12px 28px rgba(40,32,22,.06);backdrop-filter:blur(10px);}
.elp-choice-grid,.elp-info-grid{
    width:min(1120px,calc(100% - 44px));
    position:relative;
    z-index:2;
}
.elp-choice-grid{
    gap:24px;
    margin-top:0;
    padding:clamp(30px,5vw,70px) 0 clamp(58px,7vw,96px);
}
.elp-choice-card,.elp-info-card{
    border:1px solid rgba(188,135,52,.16)!important;
    border-radius:24px!important;
    background:rgba(255,255,255,.90)!important;
    box-shadow:var(--elp-shadow-soft)!important;
    backdrop-filter:blur(12px);
    transition:transform .32s ease,box-shadow .32s ease,border-color .32s ease;
    animation:elpCardIn .62s ease both;
}
.elp-choice-card:hover,.elp-info-card:hover{transform:translateY(-7px);box-shadow:var(--elp-shadow-official)!important;border-color:rgba(188,135,52,.32)!important;}
.elp-choice-card span{
    background:#fff;
    border:1px solid rgba(188,135,52,.30);
    color:var(--elp-gold);
    box-shadow:0 14px 28px rgba(40,32,22,.07);
}
.elp-choice-card h2,.elp-info-card h2{
    font-family:var(--elp-serif)!important;
    color:var(--elp-green)!important;
    font-weight:600!important;
}
.elp-choice-card p,.elp-info-card p{color:var(--elp-muted);}
.elp-choice-card a{color:var(--elp-green)!important;font-size:11px;text-transform:uppercase;letter-spacing:.10em;}

.elp-page-hero{min-height:48svh;padding-top:clamp(58px,9vw,108px);padding-bottom:clamp(42px,7vw,74px);}
.elp-back-link{
    top:22px;
    left:clamp(14px,3vw,30px);
    background:rgba(255,255,255,.88);
    border:1px solid rgba(188,135,52,.26);
    color:var(--elp-green)!important;
    box-shadow:0 10px 28px rgba(40,32,22,.07);
    backdrop-filter:blur(12px);
}
.elp-info-grid{padding:clamp(28px,5vw,70px) 0 clamp(60px,8vw,108px);margin-top:0;}
.elp-countdown-big span{
    border:1px solid rgba(188,135,52,.18);
    background:rgba(255,255,255,.86);
    box-shadow:0 10px 28px rgba(40,32,22,.06);
}
.elp-countdown-big strong{font-family:var(--elp-serif);color:var(--elp-green);}
.elp-countdown-big em{color:var(--elp-muted);}
.elp-timeline-item,.elp-contact-card,.elp-iban-box{
    background:rgba(21,63,44,.045);
    border:1px solid rgba(188,135,52,.12);
}
.elp-timeline-item{border-left-color:var(--elp-gold);}
.elp-timeline-item time,.elp-info-card strong{color:var(--elp-green);}

/* Mural social: limpio tipo app, pero con envoltorio visual de la boda */
.elp-app-feed,.elp-app-stories{
    min-height:100svh;
    padding:0 0 48px!important;
    background:
        radial-gradient(ellipse at 50% -8%,rgba(216,179,118,.23),transparent 38%),
        radial-gradient(ellipse at 10% 18%,rgba(21,63,44,.08),transparent 28%),
        linear-gradient(180deg,#fffdf9 0%,#faf8f3 58%,#fff 100%);
    color:var(--elp-ink);
}
.elp-ig-shell{
    width:min(740px,calc(100% - 34px));
    margin:0 auto;
    padding:14px 0 0;
}
.elp-ig-topbar{
    top:12px;
    min-height:72px;
    margin:0 0 14px;
    padding:10px 12px;
    border:1px solid rgba(188,135,52,.26);
    border-radius:24px;
    background:rgba(255,255,255,.92);
    box-shadow:0 18px 42px rgba(21,63,44,.10);
    backdrop-filter:blur(16px);
}
.elp-ig-brand img{width:58px;height:58px;filter:drop-shadow(0 10px 16px rgba(21,63,44,.12));}
.elp-ig-brand strong{
    font-family:var(--elp-serif)!important;
    font-size:clamp(30px,4vw,42px);
    font-weight:500;
    color:var(--elp-green)!important;
}
.elp-ig-brand small{color:var(--elp-gold);letter-spacing:.16em;font-weight:900;}
.elp-ig-icon-button{
    width:46px;
    height:46px;
    border:1px solid rgba(188,135,52,.22);
    background:#fff;
    color:var(--elp-green)!important;
    box-shadow:0 12px 26px rgba(40,32,22,.08);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease,color .22s ease;
}
.elp-ig-icon-button:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(21,63,44,.12);border-color:rgba(188,135,52,.42);}
.elp-ig-icon-button-plus{background:var(--elp-green)!important;border-color:var(--elp-green)!important;color:#fff!important;}
.elp-ig-stories{
    margin:0 0 16px;
    padding:14px 12px 10px;
    border:1px solid rgba(188,135,52,.18);
    border-radius:24px;
    background:rgba(255,255,255,.88);
    box-shadow:0 10px 28px rgba(40,32,22,.07);
    backdrop-filter:blur(12px);
}
.elp-story-thumb{
    background:conic-gradient(from 110deg,var(--elp-gold),#d8b376,var(--elp-green-2),var(--elp-gold));
    box-shadow:0 12px 24px rgba(40,32,22,.08);
}
.elp-story-create .elp-story-thumb em{color:var(--elp-green);font-weight:900;}
.elp-story-bubble strong{font-weight:800;color:var(--elp-ink);}
.elp-ig-banner{
    border:1px solid rgba(188,135,52,.24);
    background:rgba(255,247,237,.94);
    border-radius:22px;
    box-shadow:0 10px 28px rgba(40,32,22,.06);
}
.elp-ig-feed{gap:24px!important;}
.elp-card.elp-ig-post{
    border-radius:28px!important;
    overflow:hidden;
    border:1px solid rgba(188,135,52,.18)!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 18px 54px rgba(40,32,22,.10)!important;
    animation:elpCardIn .48s ease both;
}
.elp-post-header{
    min-height:64px;
    padding:12px 16px;
    grid-template-columns:44px minmax(0,1fr) auto;
}
.elp-avatar{
    width:44px;
    height:44px;
    background:conic-gradient(from 120deg,var(--elp-gold),var(--elp-gold-2),var(--elp-green-2),var(--elp-gold));
    box-shadow:inset 0 0 0 3px rgba(255,255,255,.88),0 9px 18px rgba(40,32,22,.10);
}
.elp-post-who strong{color:var(--elp-green);font-weight:900;}
.elp-post-who small{color:var(--elp-muted);font-weight:700;}
.elp-post-menu{color:var(--elp-gold);}
.elp-media-wrap{background:#f1eee7;border-color:rgba(188,135,52,.12);}
.elp-media-wrap img,.elp-media-wrap video{transition:transform .5s ease,filter .5s ease;}
@media (hover:hover) and (pointer:fine){.elp-media-wrap:hover img,.elp-media-wrap:hover video{transform:scale(1.025);filter:saturate(1.03) contrast(1.01);}}
.elp-video-badge{background:rgba(21,63,44,.72);}
.elp-card-body{padding:12px 16px 18px;}
.elp-ig-actions button{color:var(--elp-green);transition:transform .18s ease,color .18s ease;}
.elp-ig-actions button:hover{transform:scale(1.08);}
.elp-like.is-liked{color:#d94d5c!important;}
.elp-like-count{color:var(--elp-ink);font-weight:900;}
.elp-caption{color:var(--elp-ink);font-size:15px;}
.elp-empty{
    border:1px solid rgba(188,135,52,.18);
    border-radius:24px;
    background:rgba(255,255,255,.92);
    box-shadow:0 10px 28px rgba(40,32,22,.07);
    color:var(--elp-muted);
}
.elp-feed-footer .elp-button{min-width:180px;}

.elp-choice-dialog,.elp-review-dialog,.elp-editor-dialog{
    border:1px solid rgba(188,135,52,.20);
    border-radius:26px;
    box-shadow:0 30px 100px rgba(21,63,44,.20);
}
.elp-choice-dialog h2,.elp-editor-dialog h2{
    font-family:var(--elp-serif);
    color:var(--elp-green);
    font-size:28px;
    font-weight:600;
}
.elp-choice-action{
    border-color:rgba(188,135,52,.18);
    border-radius:20px;
    background:linear-gradient(180deg,#fff,#fbf8f1);
}
.elp-choice-action span{color:var(--elp-gold);border:1px solid rgba(188,135,52,.20);}
.elp-choice-action strong{color:var(--elp-green);}
.elp-review-dialog header button:last-child{color:var(--elp-green);font-weight:900;}
.elp-uploading > div{border:1px solid rgba(188,135,52,.20);}
.elp-uploading strong{font-family:var(--elp-serif);font-size:24px;color:var(--elp-green);font-weight:600;}
.elp-uploading em{background:linear-gradient(90deg,var(--elp-green),var(--elp-gold));}

/* La opción de solo móvil queda anulada también a nivel visual, incluso si quedó cacheada una clase antigua. */
.elp-mobile-only-gate{display:none!important;}
.elp-mobile-denied,.elp-mobile-only-enabled{display:block!important;place-items:unset!important;padding:0!important;background:inherit!important;}
.elp-mobile-denied .elp-mobile-content,.elp-mobile-only-enabled .elp-mobile-content{display:block!important;}

@keyframes elpHeroIn{from{opacity:0;transform:translateY(18px) scale(.975)}to{opacity:1;transform:none}}
@keyframes elpCardIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes elpSoftBackgroundDrift{0%{transform:translate3d(-1.8%,-.5%,0) scale(1.01);opacity:.52}50%{transform:translate3d(1.2%,.7%,0) scale(1.025);opacity:.74}100%{transform:translate3d(2.2%,-.4%,0) scale(1.015);opacity:.60}}

@media (min-width: 900px){
    .elp-app-feed .elp-mobile-content,.elp-app-stories .elp-mobile-content{min-height:100svh;}
    .elp-app-feed .elp-mobile-content::before,.elp-app-stories .elp-mobile-content::before{
        content:"";
        position:fixed;
        inset:0;
        pointer-events:none;
        background:
            radial-gradient(ellipse at 18% 18%,rgba(188,135,52,.12),transparent 28%),
            radial-gradient(ellipse at 82% 8%,rgba(21,63,44,.07),transparent 31%),
            radial-gradient(ellipse at 50% 104%,rgba(188,135,52,.10),transparent 36%);
        opacity:.9;
    }
}
@media (min-width: 1180px){
    .elp-ig-shell{width:min(760px,calc(100% - 70px));}
    .elp-ig-topbar{margin-top:18px;}
}
@media (max-width: 980px){
    .elp-main-hero,.elp-page-hero{background-size:cover!important;background-position:center top!important;}
    .elp-choice-grid,.elp-info-grid{width:calc(100% - 32px);}
    .elp-choice-card:hover,.elp-info-card:hover{transform:none;}
}
@media (max-width: 640px){
    .elp-main-hero{min-height:100svh;padding-top:calc(26px + env(safe-area-inset-top));padding-bottom:42px;}
    .elp-main-hero::before,.elp-page-hero::before{animation-duration:32s;opacity:.45;}
    .elp-main-logo{width:min(360px,84vw);}
    .elp-page-logo{width:min(280px,74vw);}
    .elp-kicker{font-size:10px;letter-spacing:.12em;line-height:1.55;}
    .elp-main-hero h1,.elp-page-hero h1{font-size:clamp(40px,12vw,56px);line-height:.98;}
    .elp-intro{font-size:15px;line-height:1.62;}
    .elp-main-actions{display:grid;grid-template-columns:1fr;width:min(330px,100%);gap:10px;}
    .elp-main-actions .elp-button{width:100%;}
    .elp-choice-grid,.elp-info-grid{width:calc(100% - 28px);}
    .elp-choice-card,.elp-info-card{padding:22px!important;border-radius:22px!important;}
    .elp-page-hero{min-height:auto;padding:calc(28px + env(safe-area-inset-top)) 14px 46px;}
    .elp-back-link{position:relative;top:auto;left:auto;margin:0 auto 20px;display:inline-flex;}
    .elp-countdown-big span{min-width:calc(50% - 7px);padding:13px 8px;border-radius:18px;}
    .elp-countdown-big strong{font-size:clamp(30px,9vw,40px);}
    .elp-bus-columns,.elp-contact-grid{gap:12px;}
    .elp-app-feed,.elp-app-stories{background:#fffdf9;padding-bottom:28px!important;}
    .elp-ig-shell{width:100%;padding-top:0;}
    .elp-ig-topbar{top:0;margin:0 0 10px;border-left:0;border-right:0;border-top:0;border-radius:0 0 22px 22px;padding:8px 10px;}
    .elp-ig-brand img{width:48px;height:48px;}
    .elp-ig-brand strong{font-size:28px;}
    .elp-ig-brand small{display:none;}
    .elp-ig-icon-button{width:42px;height:42px;}
    .elp-ig-stories{margin:0 10px 12px;border-radius:22px;}
    .elp-card.elp-ig-post{border-left:0!important;border-right:0!important;border-radius:0!important;box-shadow:0 12px 32px rgba(40,32,22,.07)!important;}
    .elp-choice-modal,.elp-review-modal,.elp-editor-modal{align-items:end;padding:0;}
    .elp-choice-dialog,.elp-review-dialog,.elp-editor-dialog{border-radius:24px 24px 0 0!important;}
}
@media (orientation:landscape) and (max-height:560px){
    .elp-main-hero{min-height:auto;padding-top:18px;padding-bottom:28px;}
    .elp-main-logo{width:min(240px,38vw);margin-bottom:4px;}
    .elp-main-hero h1{font-size:42px;}
    .elp-main-actions{display:flex;width:auto;}
}
@media (hover:none),(pointer:coarse){
    .elp-button:hover,.elp-choice-card:hover,.elp-info-card:hover,.elp-ig-icon-button:hover{transform:none;}
    .elp-button:hover{box-shadow:0 14px 32px rgba(21,63,44,.18);}
}
@media (prefers-reduced-motion:reduce){
    .elp-splash-card img,.elp-main-hero__content,.elp-choice-card,.elp-info-card,.elp-card.elp-ig-post,.elp-main-hero::before,.elp-page-hero::before{animation:none!important;}
    .elp-button,.elp-choice-card,.elp-info-card,.elp-media-wrap img,.elp-media-wrap video{transition:none!important;}
}

/* v2.7.0 — Ajustes finales El Patio: fondo blanco, paneles adaptativos, puntos y editor de historias */
body.elp-standalone,
.elp-app,
.elp-app-feed,
.elp-app-stories {
    background:#fff!important;
    color:#25251f;
}
.elp-app::before,
.elp-app::after,
.elp-app-feed .elp-mobile-content::before,
.elp-app-stories .elp-mobile-content::before {
    background:none!important;
    opacity:0!important;
}
.elp-app{
    min-height:100svh;
    padding:clamp(12px,2.6vw,34px);
    overflow-x:hidden;
    background:#fff!important;
}
.elp-mobile-content{min-height:calc(100svh - clamp(24px,5.2vw,68px));}
.elp-main-hero,.elp-page-hero{
    min-height:calc(100svh - clamp(24px,5.2vw,68px));
    border-radius:clamp(24px,4vw,48px);
}
.elp-main-hero__content{width:min(var(--elp-panel-max,1180px),calc(100% - 24px));}
.elp-main-logo,.elp-page-logo{width:min(var(--elp-logo-max,190px),60vw)!important;max-width:var(--elp-logo-max,190px)!important;margin-bottom:10px!important;}
.elp-splash-card img{width:min(var(--elp-logo-max,190px),62vw)!important;}
.elp-choice-grid,.elp-info-grid{width:min(var(--elp-panel-max,1180px),calc(100% - 24px))!important;}
.elp-ig-shell{width:min(760px,calc(100% - 24px))!important;max-width:var(--elp-panel-max,1180px);min-height:100svh;}
.elp-ig-brand img{width:44px!important;height:44px!important;}
.elp-ig-brand strong{font-size:clamp(24px,3vw,34px)!important;}
.elp-ig-topbar{background:rgba(255,255,255,.96)!important;}
.elp-card.elp-ig-post{width:100%;max-width:660px;margin-left:auto;margin-right:auto;}
.elp-info-card,.elp-choice-card,.elp-card.elp-ig-post,.elp-ig-stories,.elp-ig-topbar{
    box-shadow:0 18px 48px rgba(21,63,44,.09)!important;
}
.elp-info-card-centered{text-align:center;display:grid;justify-items:center;align-content:center;}
.elp-info-card-centered .elp-iban-box{justify-content:center;width:min(100%,620px);}

.elp-hide-scrollbar,
body.elp-standalone{scrollbar-width:none!important;-ms-overflow-style:none!important;}
.elp-hide-scrollbar::-webkit-scrollbar,
body.elp-standalone::-webkit-scrollbar,
html.elp-no-scroll::-webkit-scrollbar,
body.elp-no-scroll::-webkit-scrollbar{width:0!important;height:0!important;display:none!important;}

.elp-section-dots{
    position:fixed;
    z-index:9998;
    right:max(10px,env(safe-area-inset-right));
    top:50%;
    transform:translateY(-50%);
    display:grid;
    gap:10px;
    pointer-events:auto;
}
.elp-section-dots button{
    width:13px;
    height:13px;
    border:1px solid rgba(188,135,52,.45);
    border-radius:50%;
    padding:0;
    background:rgba(255,255,255,.88);
    box-shadow:0 5px 18px rgba(21,63,44,.14);
    cursor:pointer;
    position:relative;
    transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.elp-section-dots button.is-active,.elp-section-dots button:hover{background:var(--elp-accent,#bc8734);border-color:var(--elp-accent,#bc8734);transform:scale(1.18);}
.elp-section-dots span{
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    white-space:nowrap;
    font-size:11px;
    font-weight:900;
    color:var(--elp-primary,#153f2c);
    background:#fff;
    border:1px solid rgba(188,135,52,.18);
    border-radius:999px;
    padding:5px 9px;
    box-shadow:0 10px 24px rgba(21,63,44,.10);
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease,transform .18s ease;
}
.elp-section-dots button:hover span{opacity:1;transform:translate(-4px,-50%);}

.elp-camera-screen,
.elp-camera-screen *,
.elp-capture-button,
.elp-story-overlay-item{
    -webkit-user-select:none!important;
    user-select:none!important;
    -webkit-touch-callout:none!important;
}
.elp-camera-screen{touch-action:none!important;background:#000!important;}
.elp-capture-button{touch-action:none!important;}
.elp-story-overlay-layer{touch-action:none!important;}
.elp-story-overlay-item{touch-action:none!important;cursor:grab;text-shadow:0 3px 12px rgba(0,0,0,.65);}
.elp-story-overlay-item.is-selected{outline:2px solid rgba(255,255,255,.8);outline-offset:7px;border-radius:12px;}
.elp-camera-screen:not(.has-capture) [data-elp-story-tool],
.elp-camera-screen:not(.has-capture) [data-elp-story-sound]{display:none!important;}
.elp-camera-top-actions{align-items:flex-start;}
.elp-camera-top-actions button{
    width:46px!important;
    height:46px!important;
    border-radius:50%!important;
    background:rgba(0,0,0,.44)!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.22)!important;
    backdrop-filter:blur(10px);
}
.elp-camera-reviewbar{display:flex!important;justify-content:space-between!important;gap:18px!important;padding:18px max(18px,env(safe-area-inset-left)) calc(20px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-right))!important;}
.elp-camera-reviewbar[hidden]{display:none!important;}
.elp-story-publish,.elp-story-delete{
    min-width:128px;
    min-height:48px;
    border-radius:999px;
    border:0;
    font-weight:900;
    box-shadow:0 16px 40px rgba(0,0,0,.22);
}
.elp-story-publish{background:#fff;color:#111;}
.elp-story-delete{background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.26);}
.elp-color-palette{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:12px 0 4px;}
.elp-color-dot{
    width:34px;height:34px;border-radius:50%;border:3px solid #fff;background:var(--elp-dot-color,#fff);box-shadow:0 0 0 1px rgba(0,0,0,.14),0 8px 18px rgba(0,0,0,.10);cursor:pointer;
}
.elp-color-dot.is-active{box-shadow:0 0 0 3px var(--elp-primary,#153f2c),0 10px 24px rgba(0,0,0,.16);transform:scale(1.08);}
.elp-editor-dialog textarea{font-size:18px;border-radius:18px;border:1px solid rgba(188,135,52,.22);padding:13px;resize:none;}
.elp-editor-row{justify-content:center;text-align:center;}

.elp-uploading{
    position:fixed!important;
    z-index:2147482600!important;
    left:max(12px,env(safe-area-inset-left))!important;
    right:max(12px,env(safe-area-inset-right))!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    inset:auto max(12px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;
    display:block!important;
    opacity:0;
    transform:translateY(18px);
    pointer-events:none!important;
    transition:opacity .22s ease,transform .22s ease;
    padding:0!important;
    background:none!important;
}
.elp-uploading[hidden]{display:none!important;}
.elp-uploading.is-active{opacity:1;transform:translateY(0);}
.elp-uploading > div{
    width:min(720px,100%);
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr auto;
    gap:4px 12px;
    align-items:center;
    padding:12px 14px;
    border-radius:20px;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 22px 70px rgba(21,63,44,.20)!important;
    backdrop-filter:blur(16px);
}
.elp-uploading strong{font-size:16px!important;line-height:1.1;}
.elp-uploading span{font-size:12px;color:#706b5d;}
.elp-uploading b{font-size:13px;color:var(--elp-primary,#153f2c);font-weight:900;grid-row:1/3;grid-column:2;}
.elp-uploading i{grid-column:1/3;height:7px;border-radius:999px;overflow:hidden;background:rgba(21,63,44,.10);}
.elp-uploading em{display:block;height:100%;width:0;border-radius:inherit;transition:width .16s linear;}

.elp-info-modal{position:fixed;inset:0;z-index:2147482500;display:grid;place-items:center;padding:clamp(12px,3vw,34px);}
.elp-info-modal[hidden]{display:none!important;}
.elp-info-modal .elp-modal-backdrop{position:absolute;inset:0;background:rgba(21,31,25,.48);backdrop-filter:blur(10px);}
.elp-info-dialog{position:relative;z-index:2;width:min(980px,100%);max-height:min(90svh,940px);overflow:auto;border-radius:30px;background:#fff;border:1px solid rgba(188,135,52,.22);box-shadow:0 34px 120px rgba(21,63,44,.24);}
.elp-info-dialog header{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(188,135,52,.18);backdrop-filter:blur(14px);}
.elp-info-dialog header h2{margin:0;font-family:var(--elp-serif,Georgia,serif);color:var(--elp-primary,#153f2c);font-size:clamp(26px,4vw,40px);font-weight:600;}
.elp-info-dialog header button{width:44px;height:44px;border-radius:50%;border:0;background:var(--elp-primary,#153f2c);color:#fff;font-size:26px;line-height:1;cursor:pointer;}
.elp-info-dialog-body{padding:clamp(16px,3vw,28px);}
.elp-info-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;text-align:center;}
.elp-info-mini{display:grid;justify-items:center;align-content:center;gap:10px;padding:20px;border-radius:24px;background:linear-gradient(180deg,#fff,#fbf8f1);border:1px solid rgba(188,135,52,.18);}
.elp-info-mini-wide{grid-column:1/-1;}
.elp-info-mini h3{margin:0;color:var(--elp-primary,#153f2c);font-family:var(--elp-serif,Georgia,serif);font-size:clamp(23px,3vw,34px);font-weight:600;}
.elp-info-mini p{margin:0;color:#686256;line-height:1.65;}
.elp-iban-protected{display:grid!important;justify-items:center!important;text-align:center!important;gap:10px!important;width:100%;max-width:620px;margin:8px auto 0;}
.elp-iban-protected small{text-transform:uppercase;letter-spacing:.12em;color:var(--elp-accent,#bc8734);font-weight:900;}
.elp-iban-protected strong{font-size:clamp(18px,3vw,25px);letter-spacing:.05em;color:var(--elp-primary,#153f2c);}
.elp-iban-captcha{display:grid;gap:9px;justify-items:center;width:100%;}
.elp-iban-captcha label{display:grid;gap:3px;color:#615b4f;font-weight:800;}
.elp-iban-captcha label em{font-style:normal;color:var(--elp-primary,#153f2c);}
.elp-iban-captcha-row{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;width:100%;}
.elp-iban-captcha-row input{width:110px;border:1px solid rgba(188,135,52,.30);border-radius:999px;padding:12px 14px;text-align:center;font-size:16px;font-weight:900;}
.elp-iban-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}
.elp-iban-captcha-status{min-height:18px;color:var(--elp-primary,#153f2c);font-size:13px;font-weight:800;}
.elp-iban-captcha-status.is-error{color:#b42318;}

@media (min-width: 900px){
    .elp-app-feed,.elp-app-stories{padding-left:clamp(20px,5vw,70px)!important;padding-right:clamp(20px,5vw,70px)!important;}
    .elp-ig-shell{width:min(760px,calc(100% - 24px))!important;}
}
@media (max-width: 760px){
    .elp-app{padding:0!important;}
    .elp-mobile-content{min-height:100svh;}
    .elp-main-hero,.elp-page-hero{border-radius:0;min-height:100svh;}
    .elp-main-logo,.elp-page-logo{width:min(var(--elp-logo-max,170px),54vw)!important;}
    .elp-choice-grid,.elp-info-grid{width:calc(100% - 24px)!important;}
    .elp-section-dots{right:7px;gap:8px;}
    .elp-section-dots button{width:10px;height:10px;}
    .elp-section-dots span{display:none;}
    .elp-ig-shell{width:100%!important;}
    .elp-ig-topbar{border-radius:0 0 20px 20px!important;}
    .elp-info-modal{padding:0;place-items:end center;}
    .elp-info-dialog{width:100%;max-height:92svh;border-radius:28px 28px 0 0;}
    .elp-info-modal-grid{grid-template-columns:1fr;}
    .elp-info-mini{padding:18px 14px;}
    .elp-bus-columns,.elp-contact-grid{grid-template-columns:1fr!important;}
}
html.elp-scrollbar-hidden,body.elp-scrollbar-hidden{scrollbar-width:none!important;-ms-overflow-style:none!important;}
html.elp-scrollbar-hidden::-webkit-scrollbar,body.elp-scrollbar-hidden::-webkit-scrollbar{width:0!important;height:0!important;display:none!important;}

/* v2.7.2 · Mural/Grid, scroll infinito real y visor con zoom sin saltos */
.elp-view-switch{
    position:sticky;
    top:78px;
    z-index:44;
    width:min(360px,calc(100% - 24px));
    margin:12px auto 18px;
    padding:5px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:5px;
    border:1px solid rgba(188,135,52,.20);
    border-radius:999px;
    background:rgba(255,255,255,.86);
    box-shadow:0 14px 34px rgba(21,63,44,.08);
    backdrop-filter:blur(16px);
}
.elp-view-switch button{
    appearance:none;
    border:0;
    min-height:38px;
    border-radius:999px;
    background:transparent;
    color:var(--elp-primary,#153f2c);
    font-weight:900;
    letter-spacing:.02em;
    cursor:pointer;
    transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.elp-view-switch button.is-active{
    background:linear-gradient(135deg,var(--elp-primary,#153f2c),#2f6b4e);
    color:#fff;
    box-shadow:0 10px 24px rgba(21,63,44,.16);
}
.elp-view-switch button:active{transform:scale(.98);}
.elp-grid-section[hidden]{display:none!important;}
.elp-grid-section{
    width:100%;
    margin:0 auto 32px;
    animation:elp-soft-in .24s ease both;
}
.elp-grid-gallery{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:4px;
    width:100%;
    min-height:160px;
}
.elp-grid-gallery.is-loading::before{
    content:"Cargando recuerdos…";
    grid-column:1/-1;
    padding:30px;
    text-align:center;
    color:#8e8e8e;
    font-weight:800;
}
.elp-grid-tile{
    appearance:none;
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:1/1;
    border:0;
    padding:0;
    overflow:hidden;
    border-radius:0;
    background:#efefef;
    cursor:zoom-in;
}
.elp-grid-tile img,
.elp-grid-tile video{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .28s ease,filter .28s ease;
}
.elp-grid-tile:hover img,
.elp-grid-tile:hover video{transform:scale(1.045);filter:saturate(1.05);}
.elp-grid-video-badge{
    position:absolute;
    top:8px;
    right:8px;
    width:28px;
    height:28px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:rgba(0,0,0,.48);
    color:#fff;
    font-size:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.20);
}
.elp-infinite-sentinel{height:2px;width:100%;}
.elp-infinite-status{
    grid-column:1/-1;
    padding:18px 12px 28px;
    color:#8e8e8e;
    text-align:center;
    font-size:13px;
    font-weight:850;
}
.elp-feed-footer,[data-elp-load-more]{display:none!important;}
.elp-viewer{touch-action:none;overscroll-behavior:contain;}
.elp-viewer-content{
    width:min(96vw,1100px);
    max-height:92svh;
    display:grid;
    place-items:center;
}
.elp-viewer-frame{width:100%;max-height:92svh;align-content:center;}
.elp-viewer-zoom-layer{
    width:100%;
    max-height:84svh;
    display:grid;
    place-items:center;
    overflow:hidden;
    touch-action:none;
    user-select:none;
    -webkit-user-select:none;
    -webkit-touch-callout:none;
}
.elp-viewer-zoom-layer img,
.elp-viewer-zoom-layer video{
    max-width:100%;
    max-height:84svh;
    object-fit:contain;
    transform-origin:center center;
    will-change:transform;
    touch-action:none;
    user-select:none;
    -webkit-user-select:none;
    -webkit-user-drag:none;
}
.elp-viewer-zoom-layer.is-zoomed img,
.elp-viewer-zoom-layer.is-zoomed video{cursor:grab;}
@keyframes elp-soft-in{from{opacity:.35;transform:translateY(8px);}to{opacity:1;transform:translateY(0);}}
@media (min-width:900px){
    .elp-grid-gallery{gap:6px;}
}
@media (max-width:760px){
    .elp-view-switch{top:76px;margin:10px auto 12px;}
    .elp-grid-gallery{gap:3px;}
    .elp-viewer{padding:0!important;}
    .elp-viewer-content{width:100vw;max-height:100svh;}
    .elp-viewer-frame{max-height:100svh;}
    .elp-viewer-zoom-layer,.elp-viewer-zoom-layer img,.elp-viewer-zoom-layer video{max-height:92svh;border-radius:0!important;}
}
.elp-grid-gallery .elp-empty{grid-column:1/-1;}

/* ==========================================================
   v2.7.3 · Flujo Instagram real: grid intercambiable, topbar fija,
   visor prioritario, historias más limpias y cola pCloud.
   ========================================================== */
.elp-app [hidden],
.elp-app [aria-hidden="true"][hidden]{display:none!important;}
[data-elp-view-panel][hidden],
[data-elp-view-panel]:not(.is-active){display:none!important;}
[data-elp-view-panel].is-active{display:block!important;animation:elpViewSwap .24s ease both;}
.elp-grid-section.is-active{display:block!important;}
@keyframes elpViewSwap{from{opacity:.15;transform:translateY(8px)}to{opacity:1;transform:none}}

.elp-ig-shell{padding-top:112px!important;}
.elp-ig-topbar{
    position:fixed!important;
    top:max(10px,env(safe-area-inset-top,0px))!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:min(760px,calc(100% - 24px))!important;
    z-index:2147481000!important;
    margin:0!important;
}
.elp-ig-topbar .elp-ig-icon-button{position:relative;}
.elp-choice-modal,.elp-review-modal,.elp-editor-modal,.elp-info-modal,.elp-viewer,.elp-camera-screen{z-index:2147482500!important;}
.elp-editor-modal{z-index:2147482780!important;}
.elp-uploading{z-index:2147482850!important;}
.elp-viewer{z-index:2147482920!important;opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease;background:rgba(0,0,0,.92)!important;}
.elp-viewer.is-open{opacity:1;visibility:visible;}
.elp-viewer-close{z-index:2147482970!important;position:fixed!important;box-shadow:0 18px 50px rgba(0,0,0,.32)!important;}
.elp-viewer-content{position:relative;z-index:2147482930!important;}
.elp-viewer-frame{animation:elpViewerIn .25s cubic-bezier(.2,.8,.2,1) both;}
.elp-viewer-zoom-layer img,.elp-viewer-zoom-layer video{transition:transform .24s cubic-bezier(.2,.8,.2,1);}
.elp-viewer-zoom-layer.is-interacting img,.elp-viewer-zoom-layer.is-interacting video{transition:none!important;}
@keyframes elpViewerIn{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}

.elp-view-switch{
    width:min(118px,calc(100% - 24px))!important;
    grid-template-columns:1fr 1fr!important;
    top:calc(86px + env(safe-area-inset-top,0px))!important;
    padding:4px!important;
    gap:4px!important;
    z-index:2147480900!important;
}
.elp-view-switch button{display:grid!important;place-items:center!important;min-height:42px!important;padding:0!important;}
.elp-view-switch button em{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;}
.elp-view-icon{width:24px;height:24px;display:grid;place-items:center;position:relative;color:currentColor;}
.elp-view-icon-post::before{content:"";width:19px;height:19px;border:2px solid currentColor;border-radius:6px;display:block;box-shadow:inset 0 -5px 0 rgba(255,255,255,.16);}
.elp-view-icon-post::after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:currentColor;top:5px;right:5px;opacity:.9;}
.elp-view-icon-grid{grid-template-columns:repeat(2,9px);grid-template-rows:repeat(2,9px);gap:3px;}
.elp-view-icon-grid i{width:9px;height:9px;border-radius:3px;background:currentColor;display:block;}

.elp-review-dialog header button:last-child,
.elp-story-publish{
    background:linear-gradient(135deg,var(--elp-primary,#153f2c),#2f6b4e)!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.22)!important;
    box-shadow:0 14px 34px rgba(21,63,44,.24)!important;
    padding:0 18px!important;
    min-height:46px!important;
    border-radius:999px!important;
    text-transform:uppercase;
    letter-spacing:.07em;
}
.elp-story-delete{min-height:46px!important;}
.elp-review-tile video{object-fit:contain!important;background:#050505!important;}
.elp-review-tile em{pointer-events:none;}

.elp-info-modal-fullscreen{padding:0!important;place-items:stretch!important;background:#fff;}
.elp-info-modal-fullscreen .elp-modal-backdrop{background:rgba(255,255,255,.68)!important;backdrop-filter:blur(14px)!important;}
.elp-info-modal-fullscreen .elp-info-dialog{
    width:100vw!important;
    height:100dvh!important;
    max-height:none!important;
    border-radius:0!important;
    border:0!important;
    box-shadow:none!important;
    display:flex!important;
    flex-direction:column!important;
    background:linear-gradient(180deg,#fff,#fffdf8)!important;
}
.elp-info-modal-fullscreen .elp-info-dialog header{flex:0 0 auto;padding:calc(14px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 14px max(16px,env(safe-area-inset-left,0px))!important;}
.elp-info-modal-fullscreen .elp-info-dialog header button{position:relative;z-index:2147482820!important;box-shadow:0 12px 30px rgba(21,63,44,.18);}
.elp-info-modal-fullscreen .elp-info-dialog-body{flex:1 1 auto;overflow:auto;padding:clamp(18px,4vw,44px) max(16px,env(safe-area-inset-right,0px)) calc(32px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))!important;}
.elp-info-modal-fullscreen .elp-info-modal-grid{max-width:min(980px,100%);margin:0 auto;}

.elp-record-count{
    top:env(safe-area-inset-top,0px)!important;
    left:0!important;
    right:0!important;
    width:auto!important;
    height:5px!important;
    transform:none!important;
    border-radius:0!important;
    background:rgba(255,255,255,.18)!important;
    color:transparent!important;
    font-size:0!important;
    pointer-events:none!important;
    overflow:visible!important;
}
.elp-record-count::after{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--elp-record-progress,0%);background:linear-gradient(90deg,#ed4956,#ffb000);box-shadow:0 0 18px rgba(237,73,86,.55);transition:width .16s linear;}
.elp-record-count::before{content:attr(data-label);position:absolute;right:12px;top:10px;color:#fff;font:900 12px/1 var(--elp-sans,Arial,sans-serif);padding:7px 10px;border-radius:999px;background:rgba(0,0,0,.34);backdrop-filter:blur(10px);text-shadow:0 2px 8px rgba(0,0,0,.5);}
.elp-camera-screen.is-recording .elp-camera-status{top:calc(26px + env(safe-area-inset-top,0px))!important;}
.elp-camera-preview{z-index:10!important;}
.elp-camera-preview video{z-index:10!important;object-fit:cover!important;}
.elp-story-overlay-layer{z-index:22!important;}
.elp-camera-top-actions{z-index:52!important;}
.elp-camera-reviewbar{z-index:50!important;}
.elp-camera-screen.has-capture .elp-camera-status{top:auto!important;bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;left:18px!important;right:18px!important;min-height:0!important;padding:7px 11px!important;background:rgba(0,0,0,.26)!important;}
.elp-editor-row{display:none!important;}
.elp-story-overlay-item{touch-action:none!important;-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important;}
.elp-camera-screen,.elp-camera-screen *{-webkit-tap-highlight-color:transparent;}
.elp-camera-screen .elp-capture-button{position:relative;z-index:60!important;-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important;}

@media (max-width:760px){
    .elp-ig-shell{padding-top:76px!important;}
    .elp-ig-topbar{top:0!important;left:0!important;right:0!important;transform:none!important;width:100%!important;border-radius:0 0 20px 20px!important;}
    .elp-view-switch{top:76px!important;}
    .elp-info-modal-fullscreen .elp-info-dialog{height:100dvh!important;}
    .elp-info-modal-fullscreen .elp-info-modal-grid{grid-template-columns:1fr!important;}
}

/* ==========================================================
   v2.8.1 · Zoom nativo de cámara estable, pCloud bidireccional, likes/share y limpieza visual
   ========================================================== */
.elp-app{
    background:#fff!important;
    overscroll-behavior:contain;
}
.elp-app::before{background:none!important;opacity:0!important;}
.elp-main-logo,.elp-page-logo{width:min(var(--elp-logo-max,170px),40vw)!important;max-width:190px!important;}
.elp-ig-brand img{width:48px!important;height:48px!important;object-fit:contain;}
.elp-choice-grid{display:none!important;}
.elp-app-feed .elp-section-dots,.elp-app-stories .elp-section-dots{display:none!important;}
.elp-main-hero{display:grid!important;place-items:center!important;min-height:100svh!important;padding:clamp(22px,4vh,48px) 16px!important;}
.elp-main-hero__content{width:min(760px,calc(100vw - 28px))!important;}

.elp-like,.elp-share,.elp-open-icon{
    width:38px!important;height:38px!important;border:0!important;background:transparent!important;color:#1d1d1d!important;font-size:27px!important;line-height:1!important;display:grid!important;place-items:center!important;cursor:pointer!important;border-radius:50%!important;transition:transform .18s ease,color .18s ease,background .18s ease!important;
}
.elp-like:hover,.elp-share:hover,.elp-open-icon:hover{background:rgba(21,63,44,.06)!important;transform:scale(1.06)!important;}
.elp-like.is-liked{color:#ed4956!important;animation:elpHeartPop .28s cubic-bezier(.2,.8,.2,1) both;}
.elp-share{font-size:23px!important;}
.elp-like-count{font-size:13px!important;margin:0 0 8px 2px!important;color:#262626!important;font-weight:900!important;}
@keyframes elpHeartPop{0%{transform:scale(.7)}55%{transform:scale(1.22)}100%{transform:scale(1)}}

.elp-share-sheet{position:fixed;inset:0;z-index:2147482950;display:grid;place-items:end center;padding:18px;background:rgba(0,0,0,.38);opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease;}
.elp-share-sheet.is-open{opacity:1;visibility:visible;}
.elp-share-dialog{position:relative;z-index:2;width:min(420px,100%);display:grid;gap:10px;padding:18px;border-radius:26px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.28);animation:elpShareIn .2s ease both;}
.elp-share-dialog h2{margin:0 0 4px;color:var(--elp-primary,#153f2c);font:650 28px/1 var(--elp-serif,Georgia,serif);text-align:center;}
.elp-share-dialog button{min-height:48px;border:1px solid rgba(188,135,52,.20);border-radius:999px;background:#fff;color:var(--elp-primary,#153f2c);font-weight:900;cursor:pointer;}
.elp-share-dialog button:nth-last-child(1){background:rgba(21,63,44,.06);}
@keyframes elpShareIn{from{transform:translateY(18px);opacity:.3}to{transform:none;opacity:1}}

.elp-camera-screen,
.elp-camera-screen *{-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important;-webkit-tap-highlight-color:transparent!important;}
.elp-camera-screen > video{
    width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;transform-origin:center center!important;will-change:transform!important;background:#000!important;transition:transform .12s linear!important;
}
.elp-camera-screen > video.is-selfie{transform-origin:center center!important;}
.elp-camera-screen:not(.has-capture) .elp-story-overlay-layer{pointer-events:none!important;}
.elp-camera-preview,.elp-camera-preview img,.elp-camera-preview video{object-fit:cover!important;object-position:center center!important;background:#000!important;}
.elp-camera-preview video{display:block!important;width:100%!important;height:100%!important;}
.elp-camera-switch-button svg{width:25px;height:25px;display:block;}
.elp-camera-top-actions button{touch-action:none!important;}
.elp-capture-button{touch-action:none!important;-webkit-touch-callout:none!important;}

.elp-record-count{height:4px!important;background:rgba(255,255,255,.16)!important;backdrop-filter:none!important;}
.elp-record-count::before{right:10px!important;top:7px!important;background:rgba(0,0,0,.18)!important;padding:4px 7px!important;font-size:10px!important;box-shadow:none!important;opacity:.72!important;}
.elp-camera-screen.is-recording .elp-camera-status{opacity:.55!important;}

.elp-story-overlay-item{
    max-width:calc(100vw - 28px)!important;
    min-width:36px!important;
    white-space:pre-wrap!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
    line-height:1.08!important;
    padding:4px 8px!important;
    font-family:var(--elp-font-family,"Roboto",Arial,sans-serif)!important;
    touch-action:none!important;
}
.elp-story-overlay-item.is-emoji{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important;line-height:1!important;}
.elp-emoji-grid{grid-template-columns:repeat(auto-fill,minmax(46px,1fr))!important;max-height:48vh!important;overflow:auto!important;padding:2px!important;}
.elp-emoji-grid button{font-size:28px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 20px rgba(0,0,0,.06)!important;}
.elp-editor-dialog select,.elp-editor-font,.elp-editor-row input[type="range"]{display:none!important;}
.elp-color-palette{display:flex!important;flex-wrap:wrap!important;gap:10px!important;justify-content:center!important;}
.elp-color-dot{width:32px!important;height:32px!important;border-radius:50%!important;}

@media (max-width:760px){
    .elp-main-logo,.elp-page-logo{width:min(var(--elp-logo-max,155px),42vw)!important;max-width:160px!important;}
    .elp-main-actions{gap:12px!important;}
    .elp-main-actions .elp-button{min-height:50px!important;}
    .elp-camera-top-actions{top:calc(10px + env(safe-area-inset-top,0px))!important;right:max(10px,env(safe-area-inset-right,0px))!important;}
    .elp-camera-status{left:10px!important;right:70px!important;top:calc(12px + env(safe-area-inset-top,0px))!important;font-size:11px!important;background:rgba(0,0,0,.22)!important;}
    .elp-share-sheet{padding:0 12px calc(12px + env(safe-area-inset-bottom,0px));}
    .elp-share-dialog{border-radius:24px 24px 18px 18px;}
}

@media print{.elp-app{display:none!important}}

/* Seguridad visual de cortesía: evita selección, arrastre y menús contextuales en piezas multimedia públicas. */
.elp-media-wrap,
.elp-grid-tile,
.elp-viewer,
.elp-viewer *,
.elp-story-strip,
.elp-story-card,
.elp-camera-screen,
.elp-camera-screen *{
    -webkit-touch-callout:none!important;
    -webkit-user-select:none!important;
    user-select:none!important;
}
.elp-editor-dialog textarea,
.elp-editor-dialog input,
.elp-iban-captcha input{
    -webkit-user-select:text!important;
    user-select:text!important;
}
.elp-app img,.elp-app video{ -webkit-user-drag:none!important; }

/* 2.8.2: document scrolling, accessible dialogs and a shared camera frame. */
html.elp-page-ready:not(.elp-no-scroll),
html.elp-page-ready body:not(.elp-no-scroll) {
    height:auto!important; overflow-y:auto!important; touch-action:auto!important;
}
.elp-app { overflow-x:clip!important; overflow-y:visible!important; touch-action:auto; }
.elp-mobile-content,.elp-ig-shell { height:auto!important; max-height:none!important; overflow:visible!important; }
.elp-choice-modal,.elp-review-modal,.elp-editor-modal,.elp-info-modal,.elp-viewer,.elp-share-sheet {
    top:var(--elp-viewport-top,0px)!important;
    bottom:auto!important;
    height:var(--elp-viewport-height,100dvh)!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain;
    touch-action:pan-y pinch-zoom!important;
    -webkit-overflow-scrolling:touch;
}
.elp-choice-dialog,.elp-review-dialog,.elp-editor-dialog,.elp-share-dialog {
    max-height:calc(var(--elp-viewport-height,100dvh) - 36px)!important;
    min-height:0; overflow-y:auto!important; overscroll-behavior-y:contain;
    touch-action:pan-y pinch-zoom!important; -webkit-overflow-scrolling:touch;
}
.elp-info-modal-fullscreen .elp-info-dialog { height:100%!important; max-height:100%!important; min-height:0; overflow:hidden; }
.elp-info-dialog-body { min-height:0!important; touch-action:pan-y pinch-zoom; }
.elp-emoji-grid { max-height:none!important; overflow:visible!important; }
.elp-editor-dialog textarea { font-size:16px!important; }
.elp-viewer { align-items:start!important; padding-top:68px!important; }
.elp-viewer-content,.elp-viewer-frame { max-height:none!important; }
.elp-svg-icon { display:block; width:24px; height:24px; flex:none; overflow:visible; }
.elp-has-svg:not([hidden]),.elp-ig-actions button:not([hidden]),.elp-viewer-close:not([hidden]) {
    display:inline-flex!important; align-items:center!important; justify-content:center!important;
    padding:0!important; line-height:1!important; letter-spacing:0!important;
    min-width:44px!important; min-height:44px!important; flex-shrink:0;
}
.elp-has-svg::before,.elp-has-svg::after { content:none!important; }
.elp-view-icon.elp-has-svg { min-width:24px!important; min-height:24px!important; }
.elp-like.is-liked .elp-svg-icon { fill:currentColor; }
.elp-app button:focus-visible,.elp-app select:focus-visible,.elp-app input:focus-visible {
    outline:3px solid #bc8734!important; outline-offset:3px;
}
.elp-app button:disabled { opacity:.45; cursor:default; }
/* 2.8.3: fullscreen viewfinder; controls never consume the media frame. */
.elp-camera-screen {
    top:var(--elp-viewport-top,0px)!important; bottom:auto!important;
    height:var(--elp-viewport-height,100dvh)!important;
    display:block!important; padding:0!important;
    overflow-y:auto!important; overflow-x:hidden!important;
    touch-action:pan-y!important; overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
}
.elp-camera-screen[hidden] { display:none!important; }
.elp-camera-stage {
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
    width:100%; height:100%; overflow:hidden; background:#000; touch-action:pan-y;
}
.elp-camera-frame { position:relative; flex:none; width:100%; height:100%; max-width:none!important; max-height:none!important; overflow:hidden; }
.elp-camera-stage video[data-elp-camera-video],.elp-camera-stage .elp-camera-preview,
.elp-camera-stage .elp-camera-preview img,.elp-camera-stage .elp-camera-preview video {
    position:absolute!important; inset:0!important;
    width:100%!important; height:100%!important; max-width:none!important; max-height:none!important;
    margin:0!important; object-fit:contain!important; object-position:center!important;
    transform-origin:center!important; transition:none!important; display:block;
}
.elp-camera-screen.has-capture [data-elp-camera-video] { visibility:hidden; }
.elp-camera-stage .elp-story-overlay-layer { touch-action:pan-y!important; pointer-events:none; }
.elp-camera-stage .elp-story-overlay-item { pointer-events:auto; max-width:90%!important; }
.elp-camera-screen.has-hardware-zoom:not(.has-capture) .elp-camera-stage { touch-action:none; }
.elp-camera-top-actions {
    position:absolute!important; top:calc(12px + env(safe-area-inset-top,0px))!important;
    left:max(12px,env(safe-area-inset-left,0px))!important;
    right:max(12px,env(safe-area-inset-right,0px))!important;
    display:flex; flex-direction:row; flex-wrap:wrap; justify-content:flex-end; align-items:center;
    gap:10px; width:auto; pointer-events:none;
}
.elp-camera-top-actions button {
    width:48px!important; height:48px!important; min-width:48px;
    padding:0!important; display:flex!important; align-items:center; justify-content:center;
    touch-action:manipulation!important; line-height:1!important; pointer-events:auto;
}
.elp-camera-top-actions [data-elp-camera-close] { margin-right:auto; }
.elp-camera-screen .elp-camera-status,.elp-camera-screen.has-capture .elp-camera-status,
.elp-camera-screen.is-recording .elp-camera-status {
    position:absolute!important; top:calc(72px + env(safe-area-inset-top,0px))!important;
    left:50%!important; right:auto!important; bottom:auto!important; transform:translateX(-50%);
    min-height:0!important; width:max-content; max-width:calc(100% - 32px); padding:6px 12px!important;
    font-size:14px!important; line-height:1.4; border-radius:16px; pointer-events:none;
    background:rgba(0,0,0,.45)!important; text-align:center; z-index:35;
}
.elp-camera-screen .elp-camera-status:empty { display:none; }
.elp-camera-screen.has-capture .elp-camera-status:not(.is-error) { display:none; }
.elp-camera-capturebar,.elp-camera-reviewbar {
    position:absolute!important; top:auto!important; left:0!important; right:0!important;
    bottom:0!important; width:100%; min-height:0; max-height:calc(100% - 138px);
    padding:16px max(16px,env(safe-area-inset-right,0px)) calc(16px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))!important;
    pointer-events:none!important; overflow-y:auto; overscroll-behavior:contain; touch-action:pan-y!important;
    background:linear-gradient(transparent,rgba(0,0,0,.5));
}
.elp-camera-capturebar { gap:8px; }
.elp-camera-reviewbar { display:flex; justify-content:center!important; gap:12px!important; flex-wrap:wrap; }
.elp-camera-reviewbar button { flex:0 1 220px; min-width:120px; padding:12px 20px!important; pointer-events:auto; }
.elp-capture-button { padding:0!important; align-items:center; justify-content:center; }
.elp-camera-fallbacks { position:relative; width:min(440px,100%); color:#fff; font-size:14px; line-height:1.4; pointer-events:auto; touch-action:pan-y!important; }
.elp-camera-fallbacks summary {
    width:max-content; margin:auto; padding:10px 16px; min-height:44px; box-sizing:border-box;
    border-radius:999px; background:rgba(0,0,0,.5); cursor:pointer; list-style:none;
    touch-action:manipulation;
}
.elp-camera-fallbacks summary::-webkit-details-marker { display:none; }
.elp-camera-options { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; padding-top:8px; }
.elp-camera-fallbacks button {
    min-height:44px; border:1px solid #666; border-radius:999px; padding:8px 14px;
    background:#222; color:#fff; font-size:14px; line-height:1.3; cursor:pointer;
    touch-action:manipulation;
}
.elp-camera-fallbacks summary:focus-visible { outline:3px solid #bc8734; outline-offset:3px; }
.elp-camera-screen.is-recording .elp-camera-fallbacks,
.elp-camera-screen.has-capture [data-elp-camera-switch],
.elp-camera-screen.is-recording [data-elp-camera-switch] { display:none!important; }
.elp-camera-screen .elp-capture-button span { margin:0; }
@media(max-height:500px) and (min-width:500px) {
    .elp-camera-capturebar { left:auto!important; width:170px; top:78px!important; bottom:0!important; max-height:none; align-content:center; }
    .elp-camera-capturebar .elp-camera-fallbacks { width:100%; }
    .elp-camera-screen .elp-camera-status { max-width:calc(100% - 220px); }
}

/* 2.9.0 · Mural, apariencia y editor de historias. */
html[data-elp-theme],html[data-elp-theme] .elp-social-app {
    --elp-surface:#fff; --elp-surface-muted:#f6f6f6; --elp-ink:#24322b; --elp-muted:#6c726e;
    --elp-line:#e4e7e4; --elp-green:#153f2c; --elp-bg:#fff; --elp-card:#fff;
    color-scheme:light;
}
html[data-elp-theme="dark"],html[data-elp-theme="dark"] .elp-social-app {
    --elp-surface:#101112; --elp-surface-muted:#1b1d1e; --elp-ink:#f2f3f2; --elp-muted:#a5aaa7;
    --elp-line:#303433; --elp-green:#b9d9c4; --elp-bg:#101112; --elp-card:#101112;
    color-scheme:dark;
}
html.elp-page-ready,html.elp-page-ready body.elp-standalone { background:var(--elp-surface,#fff)!important; }
.elp-social-app { background:var(--elp-surface)!important; color:var(--elp-ink)!important; font-family:var(--elp-font-family,"Roboto",Arial,sans-serif)!important; }
.elp-social-app::before { display:none; }
.elp-social-app .elp-ig-shell { max-width:720px; margin:auto; padding-top:108px!important; }
.elp-ig-topbar { border-radius:0!important; border:0!important; border-bottom:1px solid var(--elp-line)!important; background:var(--elp-surface)!important; box-shadow:none!important; backdrop-filter:none!important; }
.elp-ig-brand strong { font-family:var(--elp-font-family,"Roboto",Arial,sans-serif)!important; font-weight:600!important; color:var(--elp-green)!important; }
.elp-ig-brand small { color:var(--elp-muted)!important; font-weight:500!important; letter-spacing:.05em!important; }
.elp-ig-brand img { object-fit:contain; padding-bottom:4px; }
[data-elp-theme="dark"] .elp-ig-brand img { background:#fff; border-radius:8px; padding:4px; }
.elp-ig-icon-button { box-shadow:none!important; border:0!important; background:transparent!important; color:var(--elp-ink)!important; border-radius:12px!important; }
.elp-ig-icon-button:hover { background:var(--elp-surface-muted)!important; transform:none!important; }
.elp-ig-top-actions { gap:2px!important; }
.elp-theme-control { position:relative; }
.elp-theme-menu { position:absolute; z-index:90; right:0; top:calc(100% + 10px); width:170px; padding:6px; background:var(--elp-surface); border:1px solid var(--elp-line); border-radius:14px; box-shadow:0 8px 28px #0002; }
.elp-theme-menu button { display:block; width:100%; min-height:44px; border:0; border-radius:8px; text-align:left; padding:10px 14px; color:var(--elp-ink); background:transparent; font:500 14px var(--elp-font-family,"Roboto",Arial,sans-serif); cursor:pointer; }
.elp-theme-menu button[aria-checked="true"] { background:var(--elp-surface-muted); font-weight:700; }
.elp-ig-stories { border:0!important; border-bottom:1px solid var(--elp-line)!important; border-radius:0!important; box-shadow:none!important; background:transparent!important; padding:8px 0 16px!important; }
.elp-story-bubble strong { font-size:14px!important; font-weight:500!important; color:var(--elp-ink)!important; }
.elp-ig-feed { max-width:640px; margin:auto; gap:24px!important; }
.elp-card.elp-ig-post { border:0!important; border-bottom:1px solid var(--elp-line)!important; border-radius:0!important; box-shadow:none!important; background:var(--elp-surface)!important; animation:none!important; overflow-anchor:none; }
.elp-post-header { min-height:62px; padding:10px 8px; }
.elp-post-who strong { font-size:14px!important; font-weight:600!important; color:var(--elp-ink)!important; }
.elp-post-who small { font-size:12px!important; font-weight:400!important; color:var(--elp-muted)!important; }
.elp-avatar { background:var(--elp-surface-muted)!important; color:var(--elp-green)!important; border:1px solid var(--elp-line); box-shadow:none!important; width:38px; height:38px; font-weight:600; }
.elp-media-wrap { position:relative; background:var(--elp-surface-muted)!important; border:1px solid var(--elp-line); border-radius:4px; touch-action:pan-y pinch-zoom; }
.elp-media-wrap img,.elp-media-wrap video { position:absolute; inset:0; width:100%!important; height:100%!important; object-fit:contain!important; max-height:none!important; transform:none!important; filter:none!important; transition:none!important; }
.elp-card-body { padding:8px 4px 18px!important; }
.elp-ig-actions button { color:var(--elp-ink)!important; }
.elp-ig-actions .elp-open-icon { margin-left:auto; }
.elp-ig-actions .elp-like.is-liked { color:#ed4956!important; }
.elp-like-count { font-size:14px!important; font-weight:600!important; color:var(--elp-ink)!important; }
.elp-view-switch { background:var(--elp-surface)!important; border-color:var(--elp-line)!important; box-shadow:none!important; }
.elp-view-switch button { background:transparent!important; color:var(--elp-muted)!important; }
.elp-view-switch button.is-active { color:var(--elp-green)!important; background:var(--elp-surface-muted)!important; }
.elp-grid-gallery { gap:3px!important; }
.elp-empty,.elp-choice-dialog,.elp-review-dialog,.elp-editor-dialog,.elp-share-dialog,
.elp-info-modal-fullscreen .elp-info-dialog { background:var(--elp-surface)!important; color:var(--elp-ink)!important; border-color:var(--elp-line)!important; box-shadow:none!important; }
.elp-choice-dialog h2,.elp-editor-dialog h2,.elp-share-dialog h2 { color:var(--elp-ink)!important; }
.elp-choice-action,.elp-choice-cancel,.elp-editor-actions button,.elp-share-dialog button { background:var(--elp-surface-muted)!important; color:var(--elp-ink)!important; border-color:var(--elp-line)!important; }
.elp-social-app .elp-info-card { background:var(--elp-surface-muted)!important; border-color:var(--elp-line)!important; }
.elp-social-app .elp-emoji-grid button { background:var(--elp-surface-muted)!important; box-shadow:none!important; }
.elp-editor-dialog textarea { background:var(--elp-surface-muted); color:var(--elp-ink); border-color:var(--elp-line); font-family:var(--elp-font-family,"Roboto",Arial,sans-serif); }
.elp-double-heart { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%) scale(.5); color:#fff; opacity:0; pointer-events:none; filter:drop-shadow(0 3px 9px #0006); z-index:4; }
.elp-double-heart .elp-svg-icon { width:92px; height:92px; fill:currentColor; }
.elp-double-heart.is-visible { animation:elpDoubleHeartPop .8s ease forwards; }
@keyframes elpDoubleHeartPop { 0% { opacity:0; transform:translate(-50%,-50%) scale(.5) rotate(-10deg); } 25%,65% { opacity:1; transform:translate(-50%,-50%) scale(1) rotate(0); } 100% { opacity:0; transform:translate(-50%,-50%) scale(1.15); } }
.elp-camera-screen.has-capture.has-selected-overlay .elp-camera-stage,
.elp-camera-screen.has-capture.has-selected-overlay .elp-story-overlay-layer { touch-action:none!important; }
.elp-camera-screen.is-dragging-overlay .elp-camera-frame { overflow:visible; }
.elp-camera-screen.is-dragging-overlay .elp-camera-reviewbar { visibility:hidden; }
.elp-overlay-trash { display:none; position:absolute; z-index:70; left:50%; bottom:calc(22px + env(safe-area-inset-bottom,0px)); transform:translateX(-50%); width:64px; height:64px; border-radius:50%; background:#0009; color:#fff; align-items:center; justify-content:center; pointer-events:none; border:1px solid #ffffff70; transition:background .15s,scale .15s; }
.elp-camera-screen.is-dragging-overlay .elp-overlay-trash { display:flex; }
.elp-camera-screen.is-over-trash .elp-overlay-trash { background:#d9364a; scale:1.15; }
.elp-camera-screen.is-over-trash .elp-story-overlay-item.is-selected { opacity:.45; }
.elp-story-overlay-item.is-selected { outline:1px dashed #ffffff90!important; outline-offset:5px!important; }
.elp-camera-screen.has-capture.is-feed-mode .elp-camera-preview { display:block!important; visibility:visible!important; }
.elp-camera-screen.has-capture.is-feed-mode [data-elp-story-overlays] { display:none!important; }
.elp-uploading { background:transparent!important; padding:0!important; pointer-events:none!important; }
.elp-uploading > div { display:flex!important; align-items:center!important; gap:14px!important; width:min(420px,calc(100vw - 32px))!important; padding:18px!important; background:var(--elp-surface)!important; border:1px solid var(--elp-line)!important; border-radius:16px!important; box-shadow:0 8px 35px #0003!important; }
.elp-uploading i { display:block!important; flex:1!important; width:auto!important; height:6px!important; margin:0!important; background:var(--elp-line)!important; border-radius:999px!important; overflow:hidden!important; }
.elp-uploading em { display:block; height:100%; background:var(--elp-green)!important; border-radius:inherit; transition:width .12s linear; }
.elp-uploading b { position:static!important; color:var(--elp-ink)!important; font:600 14px var(--elp-font-family,"Roboto",Arial,sans-serif)!important; min-width:40px; text-align:right; }
@media(max-width:600px) {
 .elp-social-app { padding-left:0!important; padding-right:0!important; }
 .elp-ig-topbar { width:100%!important; top:0!important; padding:calc(8px + env(safe-area-inset-top,0px)) 12px 8px!important; }
 .elp-ig-brand img { max-width:64px!important; }
 .elp-ig-brand strong { font-size:28px!important; }
 .elp-ig-brand small { font-size:10px!important; }
 .elp-post-header,.elp-card-body { padding-left:12px!important; padding-right:12px!important; }
 .elp-media-wrap { border-radius:0!important; border-left:0!important; border-right:0!important; }
 .elp-ig-stories { padding-left:12px!important; padding-right:12px!important; }
}
@media(prefers-reduced-motion:reduce) { .elp-double-heart.is-visible { animation-duration:.01ms; } .elp-uploading em { transition:none; } }

/* 2.9.1: aligned empty states, accessible icons and responsive wedding details. */
.elp-app [hidden] { display:none!important; }
.elp-app .elp-empty {
    box-sizing:border-box; width:100%; min-width:0; margin:0!important;
    display:flex; align-items:center; justify-content:center;
    padding:28px 20px!important; min-height:120px; text-align:center!important;
    font:500 14px/1.65 var(--elp-font-family,"Roboto",Arial,sans-serif)!important;
    overflow-wrap:anywhere; text-wrap:pretty;
    background:var(--elp-surface-muted,#f6f6f6)!important;
    color:var(--elp-muted,#6c726e)!important; border:1px solid var(--elp-line,#e4e7e4)!important;
    border-radius:18px!important;
}
.elp-app .elp-empty-inline { flex:1 0 0%; align-self:stretch; min-height:88px; padding:20px 16px!important; }
.elp-app .elp-stories-strip { align-items:center; width:100%; min-width:0; }
.elp-app .elp-story-bubble { text-align:center; justify-items:center; }
.elp-app .elp-story-bubble strong { display:block; width:100%; text-align:center; }
.elp-app .elp-button { text-align:center; line-height:1.35; white-space:normal; }
.elp-app .elp-svg-icon { display:block!important; width:24px!important; height:24px!important; margin:0!important; flex:0 0 24px; }
.elp-app .elp-ig-actions button { width:44px; height:44px; overflow:visible!important; opacity:1!important; visibility:visible!important; }
.elp-app .elp-like .elp-svg-icon { fill:none; stroke:currentColor; }
.elp-app .elp-like.is-liked { color:#ed4956!important; opacity:1!important; visibility:visible!important; animation:elpLikeButtonPop .28s ease-out; }
.elp-app .elp-like.is-liked .elp-svg-icon { fill:#ed4956!important; stroke:#ed4956!important; }
@keyframes elpLikeButtonPop { 0%,100% { transform:scale(1); } 50% { transform:scale(1.18); } }
.elp-app .elp-double-heart .elp-svg-icon { width:92px!important; height:92px!important; }
.elp-app .elp-overlay-trash { display:none!important; }
.elp-app .elp-camera-screen.has-capture.is-dragging-overlay:not(.is-feed-mode) .elp-overlay-trash { display:flex!important; }
.elp-app .elp-info-modal {
    box-sizing:border-box; padding:clamp(12px,3vw,32px)!important;
    display:grid; place-items:center!important; overflow:hidden!important;
    background:transparent;
}
.elp-app .elp-info-dialog {
    box-sizing:border-box; display:flex; flex-direction:column;
    width:min(1040px,100%); min-width:0; min-height:0;
    max-height:100%; height:100%; overflow:hidden;
    border-radius:24px; border:1px solid var(--elp-line,#e4e7e4);
    background:var(--elp-surface,#fff)!important; color:var(--elp-ink,#24322b)!important;
    box-shadow:0 24px 90px #0004;
}
.elp-app .elp-info-dialog > header {
    position:relative; flex:0 0 auto; display:grid; grid-template-columns:44px minmax(0,1fr) 44px;
    padding:16px 20px; gap:8px; background:var(--elp-surface,#fff)!important;
    border-color:var(--elp-line,#e4e7e4)!important;
}
.elp-app .elp-info-dialog > header h2 {
    grid-column:2; text-align:center; padding:0; margin:0;
    font-size:clamp(25px,3.4vw,38px); line-height:1.15; color:var(--elp-green,#153f2c)!important;
}
.elp-app .elp-info-dialog > header button {
    grid-column:3; width:44px; height:44px; background:var(--elp-surface-muted,#f6f6f6)!important;
    color:var(--elp-ink,#24322b)!important; box-shadow:none;
}
.elp-app .elp-info-dialog-body {
    flex:1 1 auto; min-width:0; min-height:0; overflow-y:auto; overflow-x:hidden;
    padding:clamp(16px,3vw,28px); overscroll-behavior:contain;
}
.elp-app .elp-info-modal-grid { width:100%; max-width:980px; margin:0 auto; align-items:stretch; }
.elp-app .elp-info-mini {
    min-width:0; width:100%; box-sizing:border-box; align-content:start; gap:14px;
    background:var(--elp-surface-muted,#f6f6f6)!important; border-color:var(--elp-line,#e4e7e4)!important;
}
.elp-app .elp-info-mini > *, .elp-app .elp-info-card > * { min-width:0; max-width:100%; }
.elp-app .elp-info-mini h3,.elp-app .elp-info-mini h4,.elp-app .elp-info-card h2,.elp-app .elp-info-card h3 {
    text-align:center; color:var(--elp-green,#153f2c)!important; padding:0; line-height:1.2;
}
.elp-app .elp-info-mini p,.elp-app .elp-contact-card span { color:var(--elp-muted,#6c726e)!important; padding:0; overflow-wrap:anywhere; }
.elp-app .elp-info-mini > strong { color:var(--elp-ink,#24322b); }
.elp-app .elp-info-mini .elp-card-actions { width:100%; margin-top:0; gap:10px; }
.elp-app .elp-info-mini .elp-button-light { background:var(--elp-surface,#fff)!important; color:var(--elp-green,#153f2c)!important; border-color:var(--elp-line,#e4e7e4)!important; }
.elp-app .elp-info-mini .elp-iban-box,.elp-app .elp-info-mini .elp-timeline-item,.elp-app .elp-info-mini .elp-contact-card {
    box-sizing:border-box; width:100%; background:var(--elp-surface,#fff)!important;
    border-color:var(--elp-line,#e4e7e4)!important; color:var(--elp-ink,#24322b)!important;
}
.elp-app .elp-info-mini .elp-iban-box strong,.elp-app .elp-info-mini .elp-iban-box small,
.elp-app .elp-info-mini .elp-timeline-item time { color:var(--elp-green,#153f2c)!important; }
.elp-app .elp-info-mini .elp-iban-box label,.elp-app .elp-info-mini .elp-iban-box em { color:var(--elp-ink,#24322b)!important; }
.elp-app .elp-info-mini .elp-iban-captcha-row input { background:var(--elp-surface-muted,#f6f6f6)!important; color:var(--elp-ink,#24322b)!important; border-color:var(--elp-line,#e4e7e4)!important; }
.elp-app .elp-info-mini .elp-bus-columns,.elp-app .elp-info-mini .elp-contact-grid { width:100%; }
.elp-app .elp-location-map { width:100%; min-width:0; margin:8px 0 0; border-radius:16px; overflow:hidden; background:var(--elp-surface-muted,#f6f6f6); border:1px solid var(--elp-line,#e4e7e4); }
.elp-app .elp-location-map iframe { display:block; width:100%; height:250px; max-width:100%; border:0; margin:0; }
.elp-app .elp-contact-card { justify-items:center; align-content:center; text-align:center; }
.elp-app .elp-contact-card .elp-whatsapp-button {
    justify-self:center; display:inline-flex; align-items:center; justify-content:center;
    width:50px; height:50px; min-width:50px; min-height:50px; padding:0!important;
    margin:8px 0 0; border-radius:50%; background:#168a48!important; color:#fff!important;
    border:0; box-shadow:none; line-height:1;
}
.elp-app .elp-whatsapp-button::before,.elp-app .elp-whatsapp-button::after { content:none!important; }
.elp-app .elp-whatsapp-button:focus-visible { outline:3px solid #bc8734; outline-offset:4px; }
@media(max-width:760px) {
    .elp-app .elp-info-modal-grid { grid-template-columns:minmax(0,1fr); }
    .elp-app .elp-info-dialog > header { padding:14px 12px; }
}
@media(max-width:600px) {
    .elp-app .elp-info-modal { padding:0!important; }
    .elp-app .elp-info-dialog { border:0; border-radius:0; max-height:100%; }
    .elp-app .elp-info-dialog > header { padding-top:calc(12px + env(safe-area-inset-top,0px)); }
    .elp-app .elp-info-dialog-body { padding:16px max(12px,env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px)); }
    .elp-app .elp-info-mini { padding:20px 14px; }
    .elp-app .elp-location-map iframe { height:220px; }
}
@media(prefers-reduced-motion:reduce) { .elp-app .elp-like.is-liked { animation:none!important; } }
.elp-app .elp-info-mini .elp-countdown-big span { background:var(--elp-surface,#fff)!important; border-color:var(--elp-line,#e4e7e4)!important; box-shadow:none; }
.elp-app .elp-info-mini .elp-countdown-big strong { color:var(--elp-green,#153f2c)!important; }
.elp-app .elp-info-mini .elp-countdown-big em { color:var(--elp-muted,#6c726e)!important; }
.elp-app .elp-info-mini .elp-timeline-item strong,.elp-app .elp-info-mini .elp-contact-card strong { color:var(--elp-ink,#24322b)!important; }
.elp-app .elp-info-mini .elp-timeline-item span { color:var(--elp-muted,#6c726e)!important; }

/* 2.9.2: explicit capture review and independent sound control. */
.elp-app .elp-camera-reviewbar .elp-capture-preview-title {
    flex:0 0 100%; display:block; margin:0 0 2px; padding:0; text-align:center;
    color:#fff; font:600 16px/1.4 var(--elp-font-family,"Roboto",Arial,sans-serif); text-shadow:0 1px 5px #000;
}
.elp-app .elp-camera-reviewbar [data-elp-publish-capture]:disabled { pointer-events:none!important; opacity:.55!important; }
.elp-app .elp-media-wrap .elp-video-sound {
    position:absolute; right:12px; bottom:12px; z-index:6;
    display:flex!important; align-items:center!important; justify-content:center!important;
    width:44px; height:44px; min-width:44px; min-height:44px; margin:0!important; padding:0!important;
    border:1px solid #ffffff80; border-radius:50%; background:#151515cc!important; color:#fff!important;
    box-shadow:0 2px 8px #0004; line-height:1!important; cursor:pointer; touch-action:manipulation;
}
.elp-app .elp-video-sound::before,.elp-app .elp-video-sound::after { content:none!important; }
.elp-app .elp-video-sound:focus-visible { outline:3px solid #fff!important; outline-offset:3px; }
.elp-app .elp-video-sound .elp-svg-icon { width:22px!important; height:22px!important; flex-basis:22px; }
.elp-app .elp-video-badge { pointer-events:none; }

/* 2.9.3: fixed two-column actions, including narrow phones. */
.elp-app .elp-camera-reviewbar:not([hidden]) {
    display:grid!important; grid-template-columns:repeat(2,minmax(0,220px))!important;
    justify-content:center!important; align-items:stretch; column-gap:12px!important; row-gap:10px!important;
}
.elp-app .elp-camera-reviewbar .elp-capture-preview-title { grid-column:1 / -1; grid-row:1; }
.elp-app .elp-camera-reviewbar button {
    display:flex!important; align-items:center!important; justify-content:center!important;
    width:100%!important; min-width:0!important; max-width:none!important; margin:0!important;
    min-height:48px!important; padding:12px 8px!important; box-sizing:border-box;
    font-size:clamp(14px,3.8vw,16px)!important; line-height:1.25!important; text-align:center!important;
}
.elp-app .elp-camera-reviewbar [data-elp-publish-capture] { grid-column:1; grid-row:2; }
.elp-app .elp-camera-reviewbar [data-elp-discard-capture] { grid-column:2; grid-row:2; }

/* 2.9.4: video previews and the shared local SVG icon family. */
.elp-app .elp-video-badge,.elp-app .elp-grid-video-badge {
    display:flex; align-items:center; justify-content:center; padding:0!important;
    color:#fff!important; background:rgba(21,21,21,.68)!important;
    border:1px solid rgba(255,255,255,.3); border-radius:50%; line-height:1; pointer-events:none;
}
.elp-app .elp-video-badge .elp-svg-icon,.elp-app .elp-grid-video-badge .elp-svg-icon { width:18px; height:18px; }
.elp-app .elp-grid-tile video { pointer-events:none; object-fit:cover; object-position:center; }
.elp-app .elp-grid-tile:focus-visible { outline:3px solid #bc8734; outline-offset:-3px; }
.elp-app .elp-viewer-video-status {
    position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:3;
    width:max-content; max-width:calc(100% - 32px); padding:10px 16px; border-radius:20px;
    background:rgba(0,0,0,.7); color:#fff; font:500 14px/1.4 var(--elp-font-family,"Roboto",Arial,sans-serif); text-align:center; pointer-events:none;
}
.elp-app .elp-viewer.is-video .elp-viewer-zoom-layer,.elp-app .elp-viewer video { touch-action:auto; }

/* 2.9.5: new stories, seen order and a visible ten-second photo timer. */
.elp-app .elp-story-bubble.is-unseen .elp-story-thumb { background:linear-gradient(135deg,#c44578,#e6af4b)!important; box-shadow:0 0 0 1px rgba(196,69,120,.2); }
.elp-app .elp-story-bubble.is-seen .elp-story-thumb { background:transparent!important; box-shadow:none!important; }
.elp-app .elp-story-bubble.is-seen .elp-story-thumb img,.elp-app .elp-story-bubble.is-seen .elp-story-thumb video { border-color:transparent!important; }
.elp-app .elp-story-clock { position:fixed; top:calc(var(--elp-viewport-top,0px) + max(12px,env(safe-area-inset-top,0px))); left:max(16px,env(safe-area-inset-left,0px)); right:calc(80px + env(safe-area-inset-right,0px)); z-index:2147482960; display:flex; align-items:center; gap:10px; color:#fff; }
.elp-app .elp-story-clock progress { flex:1; min-width:30px; height:5px; border:0; border-radius:5px; overflow:hidden; appearance:none; background:rgba(255,255,255,.25); color:#fff; }
.elp-app .elp-story-clock progress::-webkit-progress-bar { background:rgba(255,255,255,.25); }
.elp-app .elp-story-clock progress::-webkit-progress-value { background:#fff; }
.elp-app .elp-story-clock progress::-moz-progress-bar { background:#fff; }
.elp-app .elp-story-seconds { min-width:32px; font:500 13px/1.2 var(--elp-font-family,"Roboto",Arial,sans-serif); text-align:center; font-variant-numeric:tabular-nums; }
.elp-app .elp-story-clock-button { width:44px!important; height:44px!important; min-width:44px; border:1px solid rgba(255,255,255,.25)!important; border-radius:50%; padding:0!important; display:inline-flex; align-items:center; justify-content:center; background:rgba(20,20,20,.7)!important; color:#fff!important; cursor:pointer; }
.elp-app .elp-story-clock-button .elp-svg-icon { width:22px; height:22px; }
.elp-app .elp-story-clock-button:focus-visible { outline:2px solid #fff; outline-offset:3px; }

/* 2.9.10: El Patio controls remain outside the story editing canvas. */
.elp-app .elp-video-controls { display:flex; align-items:center; gap:8px; padding:8px; color:#fff; background:rgba(18,18,22,.9); border:1px solid #777; border-radius:16px; pointer-events:auto; box-sizing:border-box; }
.elp-app .elp-video-controls button { display:flex!important; align-items:center!important; justify-content:center!important; flex:0 0 44px!important; width:44px!important; min-width:44px!important; min-height:44px!important; padding:10px!important; margin:0!important; color:#fff!important; background:transparent!important; border:0!important; border-radius:50%; }
.elp-app .elp-video-controls svg { width:22px; height:22px; }
.elp-app .elp-video-controls input { flex:1; width:0; min-width:24px; margin:0; accent-color:#f58da5; }
.elp-app .elp-video-controls span { font-size:12px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.elp-app .elp-video-controls :focus-visible { outline:2px solid #f58da5; outline-offset:2px; }
.elp-app .elp-camera-reviewbar .elp-video-controls { grid-column:1 / -1; grid-row:1; }
.elp-app .has-video .elp-camera-reviewbar .elp-capture-preview-title { display:none; }
.elp-app .elp-camera-preview video { pointer-events:none!important; }
.elp-app .elp-camera-preview video::-webkit-media-controls { display:none!important; }
.elp-app .elp-review-tile > .elp-video-controls { position:absolute; bottom:8px; left:8px; right:8px; z-index:2; }
.elp-app .elp-viewer-frame > .elp-video-controls { position:absolute; bottom:max(16px,env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); width:min(440px,calc(100% - 24px)); z-index:25; }

/* 2.9.12: story navigation shares the close button's viewport row. */
.elp-app .elp-viewer.is-story { --elp-story-top:calc(14px + env(safe-area-inset-top,0px)); }
.elp-app .elp-viewer.is-story > .elp-story-clock {
    position:fixed; top:var(--elp-story-top); height:46px; box-sizing:border-box;
    left:calc(14px + env(safe-area-inset-left,0px));
    right:calc(68px + env(safe-area-inset-right,0px)); gap:8px; margin:0;
    z-index:2147482970; align-items:center;
}
.elp-app .elp-viewer.is-story > .elp-viewer-close {
    top:var(--elp-story-top)!important; right:calc(14px + env(safe-area-inset-right,0px))!important;
    width:46px!important; height:46px!important; margin:0!important;
    display:flex; align-items:center; justify-content:center;
}
.elp-app .elp-viewer.is-story > .elp-story-clock .elp-story-clock-button {
    flex:0 0 44px; box-sizing:border-box; margin:0!important;
}
.elp-app .elp-viewer.is-story > .elp-story-clock progress { width:0; }

/* 2.9.14: one physical toolbar for progress, actions and close on every screen. */
.elp-app .elp-viewer.is-story > .elp-story-clock {
    top:calc(var(--elp-viewport-top,0px) + 8px + env(safe-area-inset-top,0px))!important;
    left:calc(8px + env(safe-area-inset-left,0px))!important;
    right:calc(8px + env(safe-area-inset-right,0px))!important;
    display:flex!important; flex-direction:row!important; flex-wrap:nowrap!important;
    align-items:center!important; gap:6px!important; height:56px!important;
    padding:5px!important; border-radius:28px; background:rgba(16,16,20,.88);
    width:auto!important; max-width:none!important; box-sizing:border-box;
}
.elp-app .elp-viewer.is-story > .elp-story-clock > button {
    position:static!important; inset:auto!important; transform:none!important;
    flex:0 0 44px!important; width:44px!important; height:44px!important;
    min-width:44px!important; min-height:44px!important; max-width:44px!important;
    margin:0!important; padding:0!important; box-sizing:border-box;
    display:flex!important; align-items:center!important; justify-content:center!important;
}
.elp-app .elp-viewer.is-story > .elp-story-clock > progress { flex:1 1 0!important; min-width:12px!important; width:0!important; margin:0!important; }
.elp-app .elp-viewer.is-story > .elp-story-clock > .elp-story-seconds { flex:0 0 32px; min-width:32px; }

/* 2.9.16: scrolling stays available outside camera editing gestures. */
.elp-app .elp-camera-screen { touch-action:pan-y!important; }
.elp-app .elp-camera-capturebar,.elp-app .elp-camera-reviewbar {
    pointer-events:auto!important; overflow-y:auto!important; touch-action:pan-y!important;
    max-height:max(96px,calc(100% - 138px)); scrollbar-width:thin;
}
.elp-app .elp-camera-options select {
    display:block!important; width:100%; max-width:100%; min-width:0;
    min-height:44px; padding:10px 12px; border:1px solid #777; border-radius:12px;
    background:#222; color:#fff; font:inherit; font-size:16px; touch-action:manipulation;
}
.elp-app .elp-camera-options select[hidden] { display:none!important; }
.elp-app .elp-icon-label { display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:8px; text-align:center; }
.elp-app .elp-icon-label > .elp-svg-icon { flex:0 0 22px; width:22px; height:22px; margin:0; display:block; }
.elp-app .elp-has-svg > .elp-svg-icon { display:block; flex-shrink:0; margin:0!important; vertical-align:middle; }
.elp-app .elp-icon-label::before,.elp-app .elp-icon-label::after { content:none!important; }
.elp-app .elp-choice-modal,.elp-app .elp-review-modal,.elp-app .elp-editor-modal,.elp-app .elp-share-sheet {
    min-height:0!important; overflow-y:auto!important; align-items:safe center;
    scroll-padding-block:16px; touch-action:pan-y pinch-zoom!important;
}
.elp-app .elp-review-dialog > header { flex-wrap:wrap; gap:8px; }
@media (max-height:480px) {
    .elp-app .elp-choice-modal,.elp-app .elp-review-modal,.elp-app .elp-editor-modal { align-items:start!important; padding:8px!important; }
    .elp-app .elp-choice-dialog,.elp-app .elp-review-dialog,.elp-app .elp-editor-dialog { max-height:calc(var(--elp-viewport-height,100dvh) - 16px)!important; }
}

/* 2.9.18: el botón de información conserva solo la cuenta bancaria. */
.elp-app .elp-info-dialog-account { width:min(640px,100%)!important; height:auto!important; }
.elp-app .elp-info-dialog-account .elp-info-modal-grid { grid-template-columns:minmax(0,1fr); }

.elp-app .elp-account-message { white-space:pre-line; }
