.lv-gallery-view{display:grid;gap:24px;padding:0 0 120px}.lv-gallery-hero,.lv-gallery-section{background:rgba(255,255,255,.88);border:1px solid rgba(85,112,131,.16);border-radius:28px;box-shadow:0 18px 50px rgba(54,67,78,.08);padding:28px}.lv-gallery-hero{display:flex;align-items:center;gap:22px;justify-content:space-between}.lv-gallery-hero span,.lv-gallery-section-head span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#4f8298;font-weight:800}.lv-gallery-hero h1,.lv-gallery-section h2{margin:8px 0;color:#203e54}.lv-gallery-hero p{max-width:720px;color:#6b7f91}.lv-gallery-upload-actions{display:flex;gap:10px;flex-wrap:wrap}.lv-gallery-upload-actions button,.lv-gallery-section-head button,.lv-cluster-copy button,.lv-editor-actions button,.lv-photo-dialog footer button,.lv-day-back{border:1px solid #d5e0e6;background:white;border-radius:14px;padding:12px 16px;font:inherit;color:#28475d;cursor:pointer}.lv-gallery-upload{background:#214a63!important;color:#fff!important;border-color:#214a63!important}.lv-gallery-file-input{position:fixed!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.lv-gallery-status{padding:14px 18px;border-radius:16px;background:rgba(255,255,255,.65);color:#28475d;min-height:20px;transition:opacity .2s}.lv-gallery-status[data-state=error]{background:#fff0ef;color:#a33b34}.lv-gallery-status[data-state=ready]{opacity:.72}.lv-gallery-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.lv-gallery-section-head h2{font-size:30px}.lv-gallery-empty,.lv-inline-empty{border:1px dashed #d5e0e6;border-radius:20px;padding:34px;text-align:center;color:#718397}.lv-gallery-empty b{font-size:34px}.lv-gallery-empty.compact{padding:28px}.lv-cluster-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px}.lv-cluster-card{border:1px solid #dce5ea;border-radius:22px;overflow:hidden;background:#fff}.lv-cluster-collage{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:16/9;width:100%;padding:0;border:0;position:relative;background:#edf2f4;cursor:pointer}.lv-cluster-collage span{background-size:cover;background-position:center}.lv-cluster-collage b{position:absolute;right:12px;bottom:12px;background:#263b48;color:#fff;border-radius:999px;padding:7px 10px;font-size:12px}.lv-cluster-copy{padding:18px}.lv-cluster-copy h3{margin:8px 0;color:#203e54}.lv-cluster-copy p{color:#6c7f90}.lv-cluster-copy>div{display:flex;gap:8px;flex-wrap:wrap}.lv-favorites{display:flex;gap:14px;overflow-x:auto;padding-bottom:8px}.lv-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}.lv-gallery-photo{border:1px solid #dce5ea;border-radius:20px;overflow:hidden;background:#fff;position:relative;min-width:0}.lv-gallery-photo.is-compact{min-width:190px;width:190px}.lv-photo-open{display:block;width:100%;border:0;padding:0;background:#edf2f4;cursor:pointer}.lv-photo-visual{display:block;aspect-ratio:4/3;background-size:cover;background-position:center;position:relative;overflow:hidden;transition:filter .18s,transform .18s}.lv-photo-visual i{position:absolute;inset:0;display:grid;place-items:center;font-style:normal;color:#84929d}.lv-photo-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at center,transparent 45%,rgba(0,0,0,.9) 100%)}.lv-photo-sticker{position:absolute;right:8%;top:8%;font-size:34px;font-style:normal;filter:none!important}.lv-photo-caption{position:absolute;left:8%;right:8%;bottom:8%;color:#fff;text-shadow:0 2px 10px #000;font-size:18px;text-align:center}.lv-photo-meta{padding:12px 14px 4px;display:grid;gap:3px}.lv-photo-meta strong{color:#25445a}.lv-photo-meta small{color:#7b8b98}.lv-photo-actions{display:flex;gap:8px;padding:8px 12px 12px}.lv-photo-actions button{border:0;background:#f2f6f7;border-radius:10px;width:38px;height:38px;cursor:pointer}.lv-photo-actions .is-on{color:#e2a200;background:#fff7d9}.lv-day-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.lv-day-tile{border:1px solid #dce5ea;background:#fff;border-radius:22px;overflow:hidden;padding:0;text-align:left;display:grid;grid-template-columns:110px 1fr auto;align-items:center;gap:16px;cursor:pointer;transition:transform .2s,box-shadow .2s}.lv-day-tile:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(32,62,84,.09)}.lv-day-tile-cover{height:100%;min-height:110px;background:#edf2f4 center/cover no-repeat;display:grid;place-items:center;color:#7f8d98}.lv-day-tile div{display:grid;gap:5px;padding:14px 0}.lv-day-tile small{color:#8a7381;text-transform:uppercase;letter-spacing:.06em;font-weight:700}.lv-day-tile strong{color:#203e54;font-size:18px}.lv-day-tile em{font-style:normal;color:#718397}.lv-day-tile>b{padding-right:18px;color:#5d7d91}.lv-day-page{animation:dayIn .28s ease both}.lv-day-page.is-leaving{animation:dayOut .18s ease both}.lv-day-page header{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.lv-day-page header h3{font-size:30px;color:#203e54;margin:6px 0}.lv-day-back{padding:10px 14px}.lv-polaroid-card{width:210px;background:#fff;border:0;box-shadow:0 14px 30px rgba(30,45,55,.16);padding:12px 12px 22px;margin:4px 0 22px;transform:rotate(-2deg);cursor:pointer}.lv-polaroid-card .lv-photo-visual{aspect-ratio:1/1}.lv-polaroid-card b,.lv-polaroid-card small{display:block;text-align:center;margin-top:8px}.lv-photo-overlay{position:fixed;inset:0;z-index:99999;background:rgba(20,30,38,.74);backdrop-filter:blur(10px);display:grid;place-items:center;padding:20px}.lv-photo-dialog,.lv-editor-dialog,.lv-cluster-dialog{position:relative;background:#fff;border-radius:28px;max-width:min(1100px,96vw);max-height:94vh;overflow:auto;padding:22px;box-shadow:0 28px 80px rgba(0,0,0,.3)}.lv-photo-dialog>[data-close],.lv-editor-dialog>[data-close],.lv-cluster-dialog>[data-close]{position:absolute;right:16px;top:14px;border:0;background:#eef2f3;border-radius:999px;width:42px;height:42px;font-size:22px;z-index:3}.lv-photo-large{position:relative;display:grid;place-items:center;min-width:min(760px,80vw);min-height:min(620px,70vh);overflow:hidden;background:#17232b;border-radius:18px}.lv-photo-large img{max-width:100%;max-height:72vh;object-fit:contain}.lv-photo-dialog footer{display:flex;gap:12px;align-items:center;justify-content:flex-end;padding-top:16px}.lv-photo-dialog footer>div{margin-right:auto;display:grid}.lv-cluster-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.lv-cluster-detail-grid button{border:0;padding:0;background:none}.lv-editor-pro{width:min(1180px,96vw)}.lv-editor-layout{display:grid;grid-template-columns:minmax(320px,1.2fr) minmax(320px,1fr);gap:22px}.lv-editor-preview{position:relative;background:#17232b;border-radius:22px;min-height:560px;display:grid;place-items:center;overflow:hidden}.lv-editor-preview img{max-width:100%;max-height:70vh}.lv-editor-panel{display:grid;align-content:start;gap:16px}.lv-editor-name{display:grid;gap:8px}.lv-editor-name input,.lv-editor-fun input,.lv-editor-fun select{border:1px solid #d5e0e6;border-radius:12px;padding:11px;font:inherit}.lv-editor-name button{border:0;background:#eef7f8;border-radius:12px;padding:10px;text-align:left;color:#37677e}.lv-editor-sliders{display:grid;gap:12px}.lv-editor-sliders label{display:grid;grid-template-columns:110px 1fr 46px;gap:10px;align-items:center}.lv-filter-browser>div{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px}.lv-filter-chip{white-space:nowrap;border:1px solid #d6e1e6;background:#fff;border-radius:999px;padding:9px 13px;cursor:pointer}.lv-filter-chip.is-active{background:#214a63;color:#fff}.lv-editor-fun{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lv-editor-fun label{display:grid;gap:5px}.lv-editor-fun label:last-child{grid-column:1/-1}.lv-editor-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.lv-editor-actions .primary{background:#214a63;color:#fff;border-color:#214a63}.frame-polaroid{padding:12px 12px 48px!important;background:#fff!important;box-shadow:0 12px 30px rgba(0,0,0,.2)}.frame-rounded{border-radius:28px!important}.frame-film{border:12px solid #111!important;box-shadow:inset 0 0 0 2px #eee}.frame-postcard{border:10px solid #fff!important;box-shadow:0 0 0 2px #d8c4a5,0 12px 30px rgba(0,0,0,.18)}.frame-story{border-radius:28px!important;box-shadow:0 0 0 5px #f5a,0 0 0 9px #fc5}.lv-memory-option{display:flex;gap:12px;border:1px solid #dce5ea;border-radius:16px;padding:14px;margin:10px 0}.lv-memory-option span{display:grid}.lv-inline-empty ul{text-align:left;display:inline-block}.lv-gallery-view button:focus-visible{outline:3px solid rgba(64,141,172,.35);outline-offset:2px}
@keyframes dayIn{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:none}}@keyframes dayOut{to{opacity:0;transform:translateX(-20px)}}
@media(max-width:760px){.lv-gallery-hero{align-items:flex-start;flex-direction:column}.lv-gallery-hero,.lv-gallery-section{padding:20px;border-radius:22px}.lv-gallery-section-head h2{font-size:25px}.lv-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lv-day-tiles{grid-template-columns:1fr}.lv-day-tile{grid-template-columns:88px 1fr auto}.lv-editor-layout{grid-template-columns:1fr}.lv-editor-preview{min-height:360px}.lv-editor-fun{grid-template-columns:1fr}.lv-editor-fun label:last-child{grid-column:auto}.lv-photo-large{min-width:86vw;min-height:55vh}.lv-photo-dialog footer{flex-wrap:wrap}.lv-photo-dialog footer>div{width:100%}.lv-gallery-photo.is-compact{min-width:160px;width:160px}.lv-photo-caption{font-size:14px}}
.lv-photo-memory-sheet{width:min(920px,92vw);max-height:90vh;overflow:auto}.lv-photo-memory-meta{display:flex;gap:12px;flex-wrap:wrap;color:#627789;margin:12px 0 18px}.lv-photo-memory-collage{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.lv-photo-memory-collage button{border:0;padding:0;background:#edf2f4;border-radius:16px;overflow:hidden;cursor:pointer;min-height:180px}.lv-photo-memory-collage img{display:block;width:100%;height:100%;min-height:180px;object-fit:cover}.lv-photo-memory-actions{display:flex;justify-content:flex-end;margin-top:18px}.lv-photo-memory-actions button,.lv-photo-memory-gallery{border:1px solid #d5e0e6;background:#214a63;color:#fff;border-radius:14px;padding:12px 16px;font:inherit;cursor:pointer}

/* 13.28.6.2 Gallery Polish */
.lv-editor-dialog.lv-editor-pro{width:min(1180px,96vw)!important;height:min(760px,92vh)!important;max-height:92vh!important;overflow:hidden!important;padding:24px!important;border-radius:32px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--trip-color,#ef7f91) 13%,#fff),#fff 48%,color-mix(in srgb,var(--trip-color,#ef7f91) 8%,#f4fbff))!important;box-shadow:0 30px 90px rgba(40,55,75,.28)!important}
.lv-editor-pro>span{display:inline-flex;padding:7px 12px;border-radius:999px;background:color-mix(in srgb,var(--trip-color,#ef7f91) 16%,#fff);color:color-mix(in srgb,var(--trip-color,#ef7f91) 70%,#24394d);font-weight:800;letter-spacing:.08em}
.lv-editor-pro>h2{margin:10px 0 14px!important;font-size:clamp(24px,3vw,38px)!important}
.lv-editor-layout{display:grid!important;grid-template-columns:minmax(320px,.9fr) minmax(430px,1.1fr)!important;gap:22px!important;height:calc(100% - 150px)!important;min-height:0!important}
.lv-editor-preview{height:100%!important;min-height:0!important;border-radius:24px!important;overflow:hidden!important;background:linear-gradient(135deg,#1d2d3a,#41596e)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2),0 18px 40px rgba(31,51,70,.22)!important}
.lv-editor-preview img{width:100%!important;height:100%!important;object-fit:contain!important}
.lv-editor-panel{min-width:0!important;height:100%!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;gap:10px!important;background:rgba(255,255,255,.74)!important;border:1px solid color-mix(in srgb,var(--trip-color,#ef7f91) 18%,#dbe4eb)!important;border-radius:24px!important;padding:14px!important}
.lv-editor-name{display:grid!important;grid-template-columns:1fr auto!important;gap:9px!important}.lv-editor-name input{min-width:0!important}.lv-editor-name button{white-space:nowrap!important;background:color-mix(in srgb,var(--trip-color,#ef7f91) 15%,#eef8fa)!important}
.lv-studio-tabs{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:7px!important;padding:5px!important;background:#eef3f6!important;border-radius:15px!important}.lv-studio-tabs button{border:0!important;background:transparent!important;padding:9px!important;border-radius:11px!important;font-weight:800!important}.lv-studio-tabs button.is-active{background:#fff!important;color:color-mix(in srgb,var(--trip-color,#ef7f91) 72%,#17364b)!important;box-shadow:0 5px 14px rgba(32,54,70,.1)!important}
.lv-studio-pane{display:none!important;min-height:0!important;overflow:hidden!important;flex:1!important}.lv-studio-pane.is-active{display:block!important}.lv-filter-browser{height:100%!important}.lv-filter-browser>div{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;max-height:none!important;overflow:hidden!important}.lv-filter-chip{font-size:12px!important;padding:8px 5px!important;white-space:normal!important;min-height:38px!important}.lv-filter-chip.is-active{background:color-mix(in srgb,var(--trip-color,#ef7f91) 75%,#17384c)!important;color:#fff!important}
.lv-editor-sliders{display:grid!important;grid-template-columns:1fr 1fr!important;gap:11px 16px!important}.lv-editor-sliders label{display:grid!important;grid-template-columns:90px 1fr 40px!important;align-items:center!important;gap:7px!important;font-size:13px!important}.lv-editor-sliders input{min-width:0!important}.lv-editor-fun{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}.lv-editor-fun label:last-of-type{grid-column:1/-1!important}.lv-editor-actions{margin-top:12px!important;display:flex!important;justify-content:flex-end!important;gap:9px!important;position:static!important}.lv-editor-actions .primary{background:linear-gradient(135deg,color-mix(in srgb,var(--trip-color,#ef7f91) 85%,#193a50),#244e66)!important}
.lv-day-tiles{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.lv-day-tile{min-height:150px!important;border-radius:24px!important;overflow:hidden!important;background:linear-gradient(135deg,#fff,color-mix(in srgb,var(--trip-color,#ef7f91) 7%,#fff))!important;border:1px solid color-mix(in srgb,var(--trip-color,#ef7f91) 16%,#dce5eb)!important;box-shadow:0 12px 30px rgba(42,61,78,.08)!important;transition:transform .2s ease,box-shadow .2s ease!important}.lv-day-tile:hover{transform:translateY(-3px)!important;box-shadow:0 18px 36px rgba(42,61,78,.14)!important}.lv-day-tile-cover{width:42%!important;min-width:42%!important}.lv-day-tile.is-empty .lv-day-tile-cover{background:linear-gradient(145deg,#edf4f7,color-mix(in srgb,var(--trip-color,#ef7f91) 8%,#f6f9fa))!important}.lv-day-tile>div{padding:18px!important}.lv-day-tile strong{font-size:19px!important;line-height:1.25!important}.lv-day-more{text-align:center;margin-top:18px}.lv-day-more button{border-radius:999px;padding:11px 20px;background:#fff;border:1px solid #d8e2e9;font-weight:800;color:#24465c}.lv-day-page-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.lv-day-page-hero{padding:22px;border-radius:24px;background:linear-gradient(135deg,color-mix(in srgb,var(--trip-color,#ef7f91) 13%,#fff),#fff);margin-bottom:18px}.lv-day-page-hero small{letter-spacing:.12em;font-weight:900;color:color-mix(in srgb,var(--trip-color,#ef7f91) 68%,#486173)}
.lv-photo-memory-sheet{width:min(860px,94vw)!important}.lv-photo-memory-collage{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin:18px 0!important}.lv-photo-memory-collage button{min-height:170px!important;border:0!important;padding:0!important;overflow:hidden!important;border-radius:18px!important;background:#eef3f5!important}.lv-photo-memory-collage img{width:100%!important;height:100%!important;object-fit:cover!important}.lv-photo-memory-actions{display:flex!important;justify-content:flex-end!important}.lv-photo-memory-actions button{border-radius:14px!important;padding:12px 18px!important}
@media(max-width:820px){.lv-editor-dialog.lv-editor-pro{width:96vw!important;height:94vh!important;padding:16px!important}.lv-editor-layout{grid-template-columns:1fr!important;grid-template-rows:38% 62%!important;height:calc(100% - 138px)!important}.lv-filter-browser>div{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lv-editor-sliders{grid-template-columns:1fr!important}.lv-day-tiles{grid-template-columns:1fr!important}.lv-photo-memory-collage{grid-template-columns:repeat(2,1fr)!important}.lv-editor-name{grid-template-columns:1fr!important}.lv-editor-name button{width:100%!important}}

/* 13.28.6.2 Dynamic Studio */
body.lv-photo-modal-open{position:fixed!important;width:100%!important;overflow:hidden!important;overscroll-behavior:none!important;touch-action:none!important}
.lv-photo-overlay{overscroll-behavior:contain;touch-action:none}
.lv-editor-dialog.lv-editor-pro{--studio-accent:var(--trip-accent,var(--lv-accent,#ee6f83));background:radial-gradient(circle at 12% 8%,color-mix(in srgb,var(--studio-accent) 20%,transparent),transparent 35%),linear-gradient(145deg,color-mix(in srgb,var(--studio-accent) 12%,#fff),#fff 55%,color-mix(in srgb,var(--studio-accent) 8%,#eef8fb))!important}
.lv-editor-overlay-stage{position:absolute;inset:0;overflow:hidden;pointer-events:none}.lv-canvas-item{position:absolute;z-index:5;pointer-events:auto;touch-action:none;cursor:grab;user-select:none}.lv-canvas-item span{display:block;font-size:48px;white-space:nowrap;text-shadow:0 3px 10px rgba(0,0,0,.25)}.lv-canvas-item.is-text span{font-size:24px;font-weight:900;color:#fff;padding:7px 12px;border-radius:12px;background:rgba(20,35,48,.45)}.lv-canvas-item button,.lv-canvas-item i{position:absolute;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#263c4d;border:1px solid #cad7df;font-style:normal;font-size:13px}.lv-canvas-item button{right:-18px;top:-18px}.lv-canvas-item i{right:-18px;bottom:-18px;cursor:nwse-resize}.lv-editor-preview{position:relative}.lv-editor-panel{touch-action:pan-y!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}.lv-gallery-view{--gallery-accent:var(--trip-accent,var(--lv-accent,#ee6f83))}.lv-gallery-hero{border-color:color-mix(in srgb,var(--gallery-accent) 22%,#dce5ea)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--gallery-accent) 12%,#fff),#fff)!important}
@media(max-width:820px){.lv-editor-dialog.lv-editor-pro{height:100dvh!important;max-height:100dvh!important;width:100vw!important;border-radius:0!important;padding:12px!important}.lv-editor-pro>h2{font-size:24px!important;margin:5px 0 8px!important}.lv-editor-layout{height:calc(100dvh - 150px)!important;grid-template-rows:40% 60%!important;gap:10px!important}.lv-editor-panel{overflow-y:auto!important}.lv-editor-actions{position:sticky!important;bottom:0!important;background:rgba(255,255,255,.94)!important;padding-top:8px!important;z-index:20!important}.lv-canvas-item span{font-size:38px}.lv-canvas-item.is-text span{font-size:20px}}


/* 13.28.6.2 overlay fidelity, responsive studio and richer trip accents */
.lv-saved-overlays{position:absolute;inset:0;pointer-events:none;overflow:hidden}.lv-saved-overlay{position:absolute;display:block;white-space:nowrap;transform-origin:center;filter:none!important;text-shadow:0 3px 10px rgba(0,0,0,.28);font-size:clamp(20px,4vw,48px)}.lv-saved-overlay.is-text{font-size:clamp(12px,2.2vw,24px);font-weight:900;color:#fff;padding:.3em .55em;border-radius:.55em;background:rgba(20,35,48,.5)}
.lv-gallery-section,.lv-gallery-hero{background:linear-gradient(145deg,color-mix(in srgb,var(--trip-accent) 10%,#fff),#fff 58%,color-mix(in srgb,var(--trip-accent) 5%,#f7fbfb))!important;border-color:color-mix(in srgb,var(--trip-accent) 26%,#dce5ea)!important}.lv-gallery-section-head span,.lv-gallery-hero>div>span{color:color-mix(in srgb,var(--trip-accent) 78%,#24485d)!important}.lv-gallery-upload,.lv-editor-actions .primary{background:linear-gradient(135deg,var(--trip-accent),color-mix(in srgb,var(--trip-accent) 52%,#24485d))!important}
.lv-day-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}.lv-day-tile{grid-template-columns:minmax(180px,42%) 1fr 34px!important;min-height:176px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--trip-accent) 7%,#fff),#fff)!important;border-color:color-mix(in srgb,var(--trip-accent) 24%,#dce5ea)!important}.lv-day-tile-cover{min-height:176px!important;width:100%!important;background-size:cover!important}.lv-day-tile strong{font-size:20px!important}.lv-day-tile.has-photos{box-shadow:0 16px 38px color-mix(in srgb,var(--trip-accent) 14%,transparent)!important}
.lv-editor-overlay-stage{inset:auto!important;pointer-events:none}.lv-canvas-item{pointer-events:auto}.lv-editor-dialog.lv-editor-pro{height:min(900px,94dvh)!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important}.lv-editor-layout{min-height:0!important;overflow:hidden!important}.lv-editor-panel{min-height:0!important;overflow-y:auto!important;padding-right:4px!important}.lv-studio-pane.is-active{overflow-y:auto!important}.lv-editor-actions{position:relative!important;z-index:8;background:color-mix(in srgb,var(--trip-accent) 6%,#fff)!important;border-radius:18px;padding:10px!important;margin-top:10px!important}
@media(max-width:760px){.lv-photo-overlay{padding:0!important;align-items:stretch!important}.lv-editor-dialog.lv-editor-pro{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;border-radius:0!important;padding:calc(14px + env(safe-area-inset-top)) 14px calc(10px + env(safe-area-inset-bottom))!important;grid-template-rows:auto auto minmax(0,1fr) auto!important}.lv-editor-dialog.lv-editor-pro>h2{font-size:30px!important;margin:8px 0 10px!important}.lv-editor-layout{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(210px,36dvh) minmax(0,1fr)!important;gap:10px!important;overflow:hidden!important}.lv-editor-preview{min-height:0!important;height:100%!important}.lv-editor-preview img{max-height:100%!important;max-width:100%!important}.lv-editor-panel{overflow-y:auto!important;max-height:none!important;padding-bottom:90px!important;touch-action:pan-y!important}.lv-editor-actions{position:sticky!important;bottom:0!important;margin:0!important;display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:7px!important}.lv-editor-actions button{min-height:52px!important;padding:8px!important}.lv-filter-browser>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lv-editor-fun{grid-template-columns:1fr!important}.lv-editor-fun label:last-child{grid-column:auto!important}.lv-day-tiles{grid-template-columns:1fr!important}.lv-day-tile{grid-template-columns:42% 1fr 26px!important;min-height:150px!important}.lv-day-tile-cover{min-height:150px!important}}


/* 13.28.6.2 Correction: calm accents, mobile workspace and stable canvas */
.lv-gallery-upload,.lv-editor-actions .primary,.lv-filter-chip.is-active{background:color-mix(in srgb,var(--trip-accent,var(--lv-accent,#75aeb3)) 72%,#fff)!important;color:#17384c!important;border-color:color-mix(in srgb,var(--trip-accent,var(--lv-accent,#75aeb3)) 52%,#bdced6)!important;box-shadow:none!important}
.lv-gallery-hero,.lv-gallery-section,.lv-editor-dialog.lv-editor-pro{background:color-mix(in srgb,var(--trip-accent,var(--lv-accent,#75aeb3)) 7%,#fff)!important}
.lv-editor-dialog.lv-editor-pro{background-image:none!important}
.lv-editor-preview{contain:layout paint;isolation:isolate}.lv-editor-preview img{display:block;width:100%;height:100%;object-fit:contain}.lv-editor-overlay-stage{z-index:4}
.lv-studio-pane{display:none;min-height:0}.lv-studio-pane.is-active{display:block}
@media(max-width:760px){
  .lv-photo-overlay{display:block!important;overflow:hidden!important;background:#eef3f5!important}
  .lv-editor-dialog.lv-editor-pro{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;padding:calc(8px + env(safe-area-inset-top)) 10px calc(6px + env(safe-area-inset-bottom))!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;overflow:hidden!important}
  .lv-editor-pro>span{font-size:13px!important;padding:6px 10px!important}.lv-editor-pro>h2{font-size:24px!important;line-height:1.05!important;margin:4px 44px 8px 0!important}
  .lv-editor-layout{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(150px,29dvh) minmax(0,1fr)!important;height:auto!important;min-height:0!important;overflow:hidden!important;gap:8px!important}
  .lv-editor-preview{height:100%!important;min-height:0!important;border-radius:16px!important}.lv-editor-preview img{max-height:none!important}
  .lv-editor-panel{display:grid!important;grid-template-rows:auto auto minmax(0,1fr)!important;min-height:0!important;overflow:hidden!important;padding:0!important;background:#fff;border:1px solid color-mix(in srgb,var(--trip-accent,#75aeb3) 18%,#dce5ea);border-radius:18px}
  .lv-editor-name{padding:8px;gap:6px!important}.lv-editor-name input,.lv-editor-name button{min-height:42px!important}
  .lv-studio-tabs{margin:0 8px!important;position:relative!important;z-index:2!important}.lv-studio-tabs button{min-height:42px!important}
  .lv-studio-pane.is-active{display:block!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;padding:10px 8px 110px!important;min-height:0!important}
  .lv-filter-browser>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important}.lv-filter-chip{white-space:normal!important;min-height:40px!important}
  .lv-editor-sliders{grid-template-columns:1fr!important}.lv-editor-sliders label{grid-template-columns:82px minmax(0,1fr) 38px!important;font-size:12px!important}
  .lv-editor-fun{grid-template-columns:1fr!important}.lv-editor-fun button,.lv-editor-fun input,.lv-editor-fun select{min-height:44px!important}
  .lv-editor-actions{position:relative!important;bottom:auto!important;display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:6px!important;padding:6px!important;margin:6px 0 0!important;background:#fff!important;border-radius:14px!important;z-index:30!important}.lv-editor-actions button{min-height:48px!important;font-size:13px!important;padding:6px!important}
}

/* Luvia 13.28.6.2 – Photoshop-inspired non-destructive studio */
.lv-photo-media-canvas{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;background:#edf2f4}.lv-photo-media-canvas>img{width:100%;height:100%;object-fit:cover;display:block}.lv-saved-overlays{position:absolute;inset:0;pointer-events:none}.lv-saved-overlay{position:absolute;left:calc(var(--overlay-x)*1%);top:calc(var(--overlay-y)*1%);transform:translate(-50%,-50%) rotate(var(--overlay-rotation)) scale(var(--overlay-scale));transform-origin:center;line-height:1;white-space:nowrap}.lv-saved-overlay.is-sticker{font-size:clamp(18px,10cqw,64px)}.lv-saved-overlay.is-text{font-size:clamp(11px,5cqw,30px);font-weight:800;color:#fff;text-shadow:0 2px 8px #000;padding:.25em .45em;border-radius:.35em;background:rgba(0,0,0,.22)}.lv-photo-visual{container-type:inline-size}.lv-photo-large .lv-saved-overlays{inset:auto;left:50%;top:50%;width:min(100%,var(--media-width,100%));height:min(100%,var(--media-height,100%));transform:translate(-50%,-50%)}
.lv-editor-dialog.lv-editor-pro{width:min(1500px,100vw)!important;height:min(940px,100dvh)!important;max-width:100vw!important;max-height:100dvh!important;padding:0!important;border-radius:24px!important;overflow:hidden!important;background:#111820!important;color:#f7fafc!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important}.lv-editor-topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.1);background:#17212b}.lv-editor-topbar>div{display:grid}.lv-editor-topbar span{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#f0a9b8}.lv-editor-topbar strong{font-size:18px}.lv-editor-topbar [data-close]{position:static!important;width:42px;height:42px;border:0;border-radius:12px;background:#293642;color:#fff;font-size:22px}.lv-editor-workspace{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 410px;background:#0c1218}.lv-editor-preview-shell{min-width:0;min-height:0;overflow:auto;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at center,#273440,#0d141a 70%)}.lv-editor-preview{min-width:0!important;min-height:0!important;width:max-content;max-width:100%;height:max-content;max-height:100%;border-radius:0!important;background:transparent!important;overflow:visible!important;display:grid!important;place-items:center!important}.lv-editor-preview img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100dvh - 170px)!important;object-fit:contain!important;box-shadow:0 18px 60px rgba(0,0,0,.45)}.lv-editor-overlay-stage{position:absolute;touch-action:none;pointer-events:auto}.lv-editor-panel{position:relative;min-width:0;min-height:0;border-left:1px solid rgba(255,255,255,.1);background:#17212b;display:flex!important;flex-direction:column!important;gap:0!important}.lv-studio-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:10px;border-bottom:1px solid rgba(255,255,255,.1)}.lv-studio-tools button{border:0;background:transparent;color:#b9c4cd;border-radius:12px;padding:10px 4px;display:grid;gap:4px;place-items:center}.lv-studio-tools button b{font-size:20px}.lv-studio-tools button span{font-size:11px}.lv-studio-tools button.is-active{background:#2b3945;color:#fff}.lv-studio-drawer{min-height:0;flex:1;display:none;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.lv-studio-drawer.is-open{display:grid}.lv-studio-drawer>header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08)}.lv-studio-drawer>header button{border:0;background:#293642;color:#fff;border-radius:10px;width:34px;height:34px}.lv-studio-pane{display:none;overflow:auto;padding:16px}.lv-studio-pane.is-active{display:block}.lv-filter-browser>div,.lv-sticker-browser{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible!important}.lv-filter-chip,.lv-sticker-chip{border:1px solid #41505d!important;background:#202c36!important;color:#e9eef2!important;border-radius:10px!important;padding:12px 8px!important}.lv-filter-chip.is-active{background:#d9aa60!important;color:#151515!important;border-color:#e6bc79!important}.lv-sticker-chip{font-size:26px!important}.lv-editor-sliders{gap:18px!important}.lv-editor-sliders label{grid-template-columns:92px minmax(120px,1fr) 48px!important;color:#dbe3e8;font-size:13px}.lv-editor-sliders input{accent-color:#e1ad61}.lv-editor-fun{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}.lv-editor-fun input,.lv-editor-fun select,.lv-editor-name input{width:100%;box-sizing:border-box;background:#0f171e;color:#fff;border:1px solid #41505d!important;border-radius:10px!important;padding:13px!important}.lv-editor-name{gap:12px!important}.lv-editor-name button,.lv-tool-row button{border:1px solid #41505d!important;background:#26343f!important;color:#fff!important;border-radius:10px!important;padding:13px!important}.lv-editor-name small{color:#9fb0bc;line-height:1.5}.lv-tool-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lv-editor-actions{margin:0!important;padding:12px 16px!important;background:#17212b;border-top:1px solid rgba(255,255,255,.1);display:flex!important;align-items:center;justify-content:flex-end!important}.lv-editor-actions button{background:#26343f!important;border-color:#41505d!important;color:#fff!important}.lv-editor-actions .primary{background:#e1ad61!important;color:#111!important;border-color:#e1ad61!important}.lv-canvas-item{touch-action:none}.lv-canvas-item.is-sticker span{font-size:clamp(28px,7vw,80px)}
@media(max-width:760px){.lv-photo-overlay{padding:0!important;place-items:stretch!important}.lv-editor-dialog.lv-editor-pro{border-radius:0!important;width:100vw!important;height:100dvh!important}.lv-editor-topbar{height:54px;padding:0 10px}.lv-editor-workspace{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}.lv-editor-preview-shell{padding:8px;place-items:center;overflow:auto;min-height:0}.lv-editor-preview{max-width:none!important}.lv-editor-preview img{max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 210px)!important}.lv-editor-panel{border:0;border-top:1px solid rgba(255,255,255,.1);max-height:42dvh}.lv-studio-tools{order:2;position:sticky;bottom:0;background:#17212b;z-index:4}.lv-studio-drawer{max-height:30dvh}.lv-studio-pane{padding:12px;overscroll-behavior:contain}.lv-filter-browser>div,.lv-sticker-browser{display:flex!important;overflow-x:auto!important;scroll-snap-type:x proximity;padding-bottom:4px}.lv-filter-chip{min-width:120px;scroll-snap-align:start}.lv-sticker-chip{min-width:66px}.lv-editor-actions{padding:8px!important;gap:6px!important}.lv-editor-actions button{padding:10px 9px!important;font-size:13px!important}.lv-photo-dialog{width:100vw!important;max-width:100vw!important;max-height:100dvh!important;border-radius:0!important;padding:10px!important}.lv-photo-large{min-width:0!important;width:100%!important;min-height:0!important;height:calc(100dvh - 190px)!important}.lv-photo-large img{max-width:100%!important;max-height:100%!important;object-fit:contain!important}.lv-saved-overlay.is-sticker{font-size:clamp(16px,10cqw,52px)}}
.lv-lightbox-canvas{position:relative;display:inline-grid;place-items:center;max-width:100%;max-height:72vh;container-type:inline-size}.lv-lightbox-canvas>img{display:block;max-width:100%;max-height:72vh;width:auto;height:auto;object-fit:contain}.lv-lightbox-canvas>.lv-photo-vignette,.lv-lightbox-canvas>.lv-saved-overlays{position:absolute;inset:0}
@media(max-width:760px){.lv-lightbox-canvas{max-height:100%;max-width:100%}.lv-lightbox-canvas>img{max-height:calc(100dvh - 190px);max-width:100%}}


/* Luvia 13.28.6.2 — Photo Metadata & Studio Reconstruction */
.lv-editor-dialog.lv-editor-pro{--studio-accent:var(--trip-accent,var(--lv-accent,#eb7c93));width:min(1480px,96vw)!important;height:min(940px,96dvh)!important;max-width:96vw!important;max-height:96dvh!important;border-radius:28px!important;background:#fffdf9!important;color:#17364b!important;box-shadow:0 32px 90px rgba(28,49,62,.24)!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;overflow:hidden!important;padding:0!important}
.lv-editor-topbar{height:70px!important;padding:0 20px!important;background:linear-gradient(90deg,color-mix(in srgb,var(--studio-accent) 10%,#fff),#fffdf9)!important;border-bottom:1px solid #e8edf0!important;color:#17364b!important}.lv-editor-topbar span{color:color-mix(in srgb,var(--studio-accent) 82%,#6b4050)!important}.lv-editor-topbar [data-close]{background:#f1f5f7!important;color:#17364b!important;border:1px solid #dce5e9!important;border-radius:50%!important}
.lv-editor-workspace{background:#f6f8f9!important;grid-template-columns:minmax(0,1fr) 420px!important;min-height:0!important}.lv-editor-preview-shell{background:linear-gradient(145deg,#edf2f4,#f9fbfb)!important;padding:22px!important;overflow:auto!important;place-items:center!important}.lv-editor-preview{position:relative!important;width:max-content!important;height:max-content!important;max-width:none!important;max-height:none!important;background:transparent!important;overflow:visible!important}.lv-editor-preview>img{display:block!important;width:auto!important;height:auto!important;max-width:min(100%,calc(100vw - 500px))!important;max-height:calc(96dvh - 180px)!important;object-fit:contain!important;box-shadow:0 18px 50px rgba(24,47,61,.18)!important;border-radius:14px!important}.lv-editor-overlay-stage{position:absolute!important;pointer-events:auto!important;touch-action:none!important;container-type:inline-size!important}.lv-canvas-item{font-size:calc(var(--overlay-size,.13)*100cqw)!important;line-height:1!important}.lv-canvas-item.is-text{font-size:calc(var(--overlay-size,.07)*100cqw)!important;white-space:nowrap!important}
.lv-editor-panel{background:#fff!important;color:#17364b!important;border-left:1px solid #dfe7eb!important;min-height:0!important}.lv-studio-tools{background:#fff!important;border-bottom:1px solid #e5ecef!important;padding:12px!important;gap:8px!important}.lv-studio-tools button{color:#607583!important;background:#f5f8f9!important;border:1px solid transparent!important}.lv-studio-tools button.is-active{background:color-mix(in srgb,var(--studio-accent) 12%,#fff)!important;color:#17364b!important;border-color:color-mix(in srgb,var(--studio-accent) 30%,#dfe7eb)!important}.lv-studio-drawer{background:#fff!important}.lv-studio-drawer>header{border-bottom:1px solid #e5ecef!important}.lv-studio-drawer>header button{background:#eef3f5!important;color:#17364b!important}.lv-studio-pane{background:#fff!important}.lv-filter-chip,.lv-sticker-chip{background:#fff!important;color:#17364b!important;border:1px solid #d8e2e7!important;box-shadow:none!important}.lv-filter-chip.is-active{background:color-mix(in srgb,var(--studio-accent) 68%,#f5c977)!important;color:#17364b!important;border-color:transparent!important}.lv-editor-sliders label{color:#36566a!important}.lv-editor-sliders input{accent-color:var(--studio-accent)!important}.lv-editor-fun input,.lv-editor-fun select,.lv-editor-name input{background:#fff!important;color:#17364b!important;border:1px solid #ccd9df!important}.lv-editor-name button,.lv-tool-row button{background:#f4f7f8!important;color:#17364b!important;border:1px solid #d7e1e6!important}.lv-editor-name small{color:#617786!important}.lv-editor-actions{background:#fffdf9!important;border-top:1px solid #dfe7eb!important}.lv-editor-actions button{background:#fff!important;color:#17364b!important;border:1px solid #d4dfe4!important}.lv-editor-actions .primary{background:#e7bf78!important;color:#17364b!important;border-color:#d9ad61!important}
.lv-photo-media-canvas,.lv-lightbox-canvas{position:relative!important;overflow:hidden!important;background:#f1f4f5!important}.lv-photo-media-canvas>img,.lv-lightbox-canvas>img{object-fit:contain!important}.lv-saved-overlays{position:absolute!important;display:block!important;pointer-events:none!important;container-type:inline-size!important;transform:rotate(var(--image-rotation,0deg))!important;transform-origin:center!important}.lv-saved-overlay{position:absolute!important;left:calc(var(--overlay-x)*1%)!important;top:calc(var(--overlay-y)*1%)!important;transform:translate(-50%,-50%) rotate(var(--overlay-rotation,0deg))!important;font-size:calc(var(--overlay-size,.13)*100cqw)!important;line-height:1!important}.lv-saved-overlay.is-text{font-size:calc(var(--overlay-size,.07)*100cqw)!important;white-space:nowrap!important}
@media(max-width:760px){.lv-photo-overlay{padding:0!important;place-items:stretch!important}.lv-editor-dialog.lv-editor-pro{width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;border-radius:0!important}.lv-editor-topbar{height:56px!important;padding:0 10px!important}.lv-editor-workspace{grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important}.lv-editor-preview-shell{padding:6px!important;min-height:0!important;overflow:auto!important;place-items:center!important}.lv-editor-preview>img{max-width:none!important;width:auto!important;height:auto!important;max-height:calc(58dvh - 10px)!important;min-height:0!important}.lv-editor-panel{border-left:0!important;border-top:1px solid #dfe7eb!important;max-height:36dvh!important;display:flex!important;flex-direction:column!important}.lv-studio-tools{order:2!important;display:flex!important;overflow-x:auto!important;flex:0 0 auto!important;scrollbar-width:none!important}.lv-studio-tools button{min-width:82px!important}.lv-studio-drawer{max-height:27dvh!important;min-height:0!important}.lv-studio-pane.is-active{overflow:auto!important;padding:12px 12px 30px!important}.lv-filter-browser>div,.lv-sticker-browser{display:flex!important;overflow-x:auto!important;gap:8px!important}.lv-filter-chip{min-width:116px!important}.lv-sticker-chip{min-width:64px!important}.lv-editor-actions{padding:8px!important;gap:6px!important;overflow-x:auto!important;justify-content:flex-start!important}.lv-editor-actions button{white-space:nowrap!important;min-width:max-content!important}.lv-photo-dialog{background:#fffdf9!important}.lv-photo-large{background:#f1f4f5!important}}


/* Luvia 13.28.6.2 — album/lightbox/overlay interaction correction */
.lv-photo-dialog{background:#fffdf9!important;color:#17364b!important;box-shadow:0 28px 90px rgba(31,55,68,.24)!important}.lv-photo-dialog>button[data-close]{background:#fff!important;color:#17364b!important;border:1px solid #d8e2e7!important}.lv-photo-large{background:#eef3f5!important}.lv-photo-dialog footer{background:#fffdf9!important;color:#17364b!important;border-top:1px solid #dfe7eb!important}.lv-photo-dialog footer button{background:#fff!important;color:#17364b!important;border:1px solid #d4dfe4!important}.lv-photo-location{display:block;margin-top:5px;color:#496879;font-weight:700}.lv-canvas-item{outline:2px solid rgba(255,255,255,.92);outline-offset:3px}.lv-canvas-item>output{position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(-50%);background:#17364b;color:#fff;border-radius:999px;padding:3px 7px;font-size:10px;white-space:nowrap}.lv-canvas-item [data-overlay-handle]{width:28px!important;height:28px!important;right:-18px!important;bottom:-18px!important;background:#fff!important;color:#17364b!important;border:2px solid #17364b!important;border-radius:50%!important;display:grid!important;place-items:center!important;font-style:normal!important;touch-action:none!important}.frame-classic{padding:14px;background:#f7f2e8}.frame-white{padding:18px;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.15)}.frame-shadow{padding:8px;background:#fff;box-shadow:12px 14px 0 rgba(28,54,75,.18)}.frame-stamp{padding:14px;background:#fff;border:8px dotted #e4d7c3}.frame-cinema{padding:18px 8px;background:#111;border-top:10px dashed #f4f4f4;border-bottom:10px dashed #f4f4f4}.frame-travel{padding:16px;background:#fff8e8;border:2px solid #d9b36c;box-shadow:inset 0 0 0 5px #fff}.lv-studio-tools{scroll-padding-right:32px!important;padding-right:28px!important}.lv-studio-tools button:last-child{margin-right:16px!important}
@media(max-width:760px){.lv-studio-tools{overflow-x:auto!important;scrollbar-width:thin!important}.lv-studio-tools button{flex:0 0 92px!important;min-width:92px!important}.lv-studio-drawer{display:grid!important}.lv-photo-dialog footer{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.lv-photo-dialog footer>div{grid-column:1/-1!important}.lv-photo-dialog footer button{width:100%!important}.lv-lightbox-canvas{background:#eef3f5!important}}

/* 13.28.6.2 */
.lv-studio-drawer>header{display:none!important}
.lv-studio-drawer{padding-top:10px!important}
.lv-studio-tools{overflow-x:auto!important;scrollbar-width:none!important;padding-right:24px!important}
.lv-studio-tools::-webkit-scrollbar{display:none!important}
.lv-photo-large,.lv-lightbox-canvas{background:transparent!important}
.lv-photo-dialog{background:rgba(255,252,247,.98)!important}
.lv-lightbox-canvas{width:max-content!important;height:max-content!important;max-width:100%!important;max-height:calc(100dvh - 190px)!important}
.lv-lightbox-canvas>img{display:block!important;opacity:1!important;visibility:visible!important}
.lv-canvas-item{font-size:calc(var(--overlay-size,.13)*100cqw)!important}
.lv-canvas-item>span{font-size:1em!important;line-height:1!important}
.lv-canvas-item.is-text>span{font-size:1em!important}
.lv-canvas-item [data-overlay-handle]{cursor:nwse-resize!important;touch-action:none!important}

/* 13.28.6.7 — canonical photo surface: never cover the image with a presentation layer */
.lv-photo-large{display:grid!important;place-items:center!important;overflow:auto!important;background:transparent!important}
.lv-photo-large>.lv-photo-visual{display:inline-block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;background:transparent!important}
.lv-photo-large .lv-photo-media-canvas{display:inline-grid!important;place-items:center!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100dvh - 190px)!important;background:transparent!important}
.lv-photo-large .lv-photo-media-canvas>img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100dvh - 190px)!important;object-fit:contain!important;opacity:1!important;visibility:visible!important}
.lv-photo-large .lv-photo-media-canvas>i{position:absolute!important}
.lv-album-collage [data-album-photo],.lv-album-dialog [data-album-detail-visual]{display:block!important;position:relative!important;width:100%!important;height:100%!important;overflow:hidden!important;background:transparent!important}
.lv-album-collage .lv-photo-visual,.lv-album-dialog .lv-photo-visual{display:block!important;width:100%!important;height:100%!important}
.lv-album-collage .lv-photo-media-canvas,.lv-album-dialog .lv-photo-media-canvas{display:block!important;width:100%!important;height:100%!important;position:relative!important;overflow:hidden!important;background:transparent!important}
.lv-album-collage .lv-photo-media-canvas>img,.lv-album-dialog .lv-photo-media-canvas>img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.lv-album-collage .lv-saved-overlays,.lv-album-dialog .lv-saved-overlays{z-index:2!important}

/* v13.28.6.7 canonical baked photo surface */
.lv-photo-media-canvas>img{display:block;width:100%;height:100%;object-fit:contain;background:transparent}
.lv-photo-visual.is-baked .lv-photo-media-canvas>img{filter:none!important;transform:none!important}
.lv-photo-large,.lv-photo-large .lv-photo-visual,.lv-photo-large .lv-photo-media-canvas{background:transparent!important}
.lv-photo-dialog{background:#fffaf4}
.lv-photo-dialog .lv-photo-large{min-height:min(72vh,820px)}
.lv-photo-dialog .lv-photo-large img{object-fit:contain}
.lv-photo-direct-image{display:block!important;max-width:100%!important;max-height:72vh!important;width:auto!important;height:auto!important;object-fit:contain!important;background:transparent!important}

/* Luvia 13.28.6.7 — strict mobile width containment */
@media (max-width:760px){
  html,body{max-width:100%;overflow-x:hidden!important}
  .lv-gallery-view,.lv-gallery-view *{box-sizing:border-box}
  .lv-gallery-view{width:100%;max-width:100%;min-width:0;overflow-x:hidden!important;padding-left:0!important;padding-right:0!important}
  .lv-gallery-hero,.lv-gallery-section,.lv-gallery-status,.lv-day-page{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important}
  .lv-gallery-hero{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;padding:18px!important}
  .lv-gallery-hero>div,.lv-gallery-section-head>div{min-width:0!important;max-width:100%!important}
  .lv-gallery-hero h1{font-size:clamp(30px,10vw,42px)!important;line-height:1.04!important;overflow-wrap:anywhere!important}
  .lv-gallery-hero p{max-width:100%!important;overflow-wrap:anywhere!important}
  .lv-gallery-upload-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important}
  .lv-gallery-upload-actions button{width:100%!important;max-width:100%!important;white-space:normal!important}
  .lv-gallery-section{padding:18px!important;overflow:hidden!important}
  .lv-gallery-section-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-width:0!important}
  .lv-gallery-section-head h2{font-size:26px!important;line-height:1.1!important;min-width:0!important;overflow-wrap:anywhere!important}
  .lv-favorites{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;overflow:visible!important;width:100%!important;max-width:100%!important;padding-bottom:0!important}
  .lv-gallery-photo.is-compact{width:100%!important;min-width:0!important;max-width:100%!important}
  .lv-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:100%!important;gap:10px!important}
  .lv-photo-meta{padding:10px 10px 4px!important;min-width:0!important}
  .lv-photo-meta strong,.lv-photo-meta small{overflow-wrap:anywhere!important}
  .lv-photo-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;padding:7px 8px 10px!important}
  .lv-photo-actions button{width:100%!important;min-width:0!important;height:36px!important;padding:0!important}
  .lv-cluster-grid{grid-template-columns:minmax(0,1fr)!important;width:100%!important}
  .lv-cluster-card,.lv-cluster-copy,.lv-cluster-copy>div{min-width:0!important;max-width:100%!important}
  .lv-cluster-copy h3,.lv-cluster-copy p{overflow-wrap:anywhere!important}
  .lv-cluster-copy>div{display:grid!important;grid-template-columns:1fr!important}
  .lv-cluster-copy button{width:100%!important;white-space:normal!important}
  .lv-day-tiles{grid-template-columns:minmax(0,1fr)!important;width:100%!important}
  .lv-day-tile{grid-template-columns:84px minmax(0,1fr) 24px!important;gap:10px!important;width:100%!important;min-width:0!important}
  .lv-day-tile div{min-width:0!important}
  .lv-day-tile strong,.lv-day-tile em{overflow-wrap:anywhere!important}
  .lv-day-page header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important}
  .lv-photo-dialog,.lv-cluster-dialog{width:100vw!important;max-width:100vw!important;max-height:100dvh!important;border-radius:0!important;padding:14px!important}
  .lv-cluster-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:360px){
  .lv-gallery-hero,.lv-gallery-section{padding:14px!important}
  .lv-gallery-grid,.lv-favorites{gap:8px!important}
  .lv-photo-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* v13.29.2.2 — Gallery Request Storm Diagnostics + UX corrections */
.lv-photo-actions{align-items:center;flex-wrap:wrap}
.lv-photo-actions .lv-photo-timeline-action{width:38px!important;min-width:38px!important;padding:0!important;display:inline-flex;align-items:center;justify-content:center;font-weight:850;font-size:17px;color:#25445a}
.lv-cluster-ai-title{background:linear-gradient(135deg,#fff6d9,#ffe8f0)!important;border-color:#efd5a0!important}
.lv-title-picker{width:min(760px,94vw)}
.lv-title-suggestions,.lv-photo-title-suggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.lv-title-suggestions button,.lv-photo-title-suggestions button{border:1px solid #d7e2e7;background:#fff;border-radius:14px;padding:13px 14px;text-align:left;color:#203e54;font:inherit;font-weight:750;cursor:pointer}
.lv-title-suggestions button:hover,.lv-photo-title-suggestions button:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(32,62,84,.08)}
.lv-title-suggestion-status{color:#6b7f91;margin-top:8px}
.lv-editor-sliders{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
.lv-editor-sliders label{display:grid!important;grid-template-columns:110px minmax(0,1fr) 48px!important;gap:10px!important;align-items:center!important;width:100%!important}
.lv-photo-title-suggestions{grid-template-columns:1fr;margin:4px 0 8px}
.lv-photo-title-suggestions:empty{display:none}
@media(max-width:760px){.lv-title-suggestions{grid-template-columns:1fr}.lv-photo-actions .lv-photo-timeline-action{width:38px!important;min-width:38px!important}.lv-editor-sliders label{grid-template-columns:86px minmax(0,1fr) 40px!important}}

/* v13.29.4 — Quiet upload window + complete gallery clear */
.lv-gallery-upload-actions .lv-gallery-danger{border-color:#e7a6aa!important;color:#9d3540!important;background:#fff7f7!important}
.lv-gallery-upload-actions .lv-gallery-danger:hover{background:#ffecee!important;border-color:#d87e87!important}
.lv-gallery-upload-actions .lv-gallery-danger:disabled{opacity:.55;cursor:wait}
.lv-gallery-clear-dialog{max-width:620px!important}
.lv-gallery-clear-dialog>span{color:#b33f49;font-weight:850;text-transform:uppercase;letter-spacing:.08em;font-size:12px}
.lv-gallery-clear-warning{display:grid;gap:6px;padding:16px 18px;margin:18px 0;border:1px solid #efb5ba;border-radius:18px;background:#fff3f4;color:#80333b}
.lv-gallery-clear-warning small{color:#8a5b61}
.lv-gallery-clear-dialog label{display:grid;gap:8px;font-weight:750}
.lv-gallery-clear-dialog input{width:100%;box-sizing:border-box;border:1px solid #d8e1e6;border-radius:14px;padding:13px 14px;font:inherit}
.lv-gallery-clear-dialog .danger{background:#b83f49!important;color:#fff!important;border-color:#b83f49!important}
.lv-gallery-clear-dialog .danger:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:700px){.lv-gallery-upload-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.lv-gallery-upload-actions .lv-gallery-upload{grid-column:1/-1}.lv-gallery-clear-dialog{width:min(94vw,620px)!important}}
