:root{color-scheme:dark;--bg:#090909;--box:#101010;--fg:#f4f1e9;--line:#ffffff30;--accent:#eeeae1;--accent-text:#eeeae1;--cta-bg:#eeeae1;--cta-fg:#101010;--gap:clamp(.6rem,1.3vw,1rem);--page:clamp(1rem,3.7vw,3.25rem);--max:80rem;}
#theme-root{min-height:100dvh;}
:focus-visible{outline:2px solid currentColor;outline-offset:2px;}
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;}
body{margin:0;overflow-x:hidden;font:1rem/1.5 system-ui;}
html.home-layout-pending #contenido>section:not(.hero),html.home-layout-pending footer{visibility:hidden;}
a{color:inherit;text-decoration:none;}
button,input,textarea,select{font:inherit;color:inherit;}
button{cursor:pointer;border:0;padding:0;}
h1,h2,h3,p{margin:0;}
img,svg{display:block;max-width:100%;}
/* Respetar SVG ocultos: el sprite sin tamaño no debe reservar 300x150 px. */
#theme-root>svg[hidden],svg[hidden]{display:none;}
img{height:auto;}
.wrapper{container-type:inline-size;}
.container{width:min(calc(100% - 2*var(--page)),var(--max));margin:auto;}
.section{padding:clamp(.8rem,1.8vw,1.4rem) 0;}
.flex,.stack{display:flex;gap:var(--gap);}
.flex{align-items:center;}
.stack{flex-direction:column;}
.middle{justify-content:center;}
.between{justify-content:space-between;}
.wrap{flex-wrap:wrap;}
/* SOYJHON · GRIDS BASE CONTEXTUALES: una sola arquitectura de columnas. */
.grid{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--gap)}
.grid2,.grid3,.grid4,.grid5,.grid6{display:flex;flex-wrap:wrap;gap:var(--grid-gap,var(--gap))}
.grid2{--cols:2}.grid3{--cols:3}.grid4{--cols:4}.grid5{--cols:5}.grid6{--cols:6}
:is(.grid2,.grid3,.grid4,.grid5,.grid6)>*{
  flex:1 1 calc((100% - (var(--cols) - 1)*var(--grid-gap,var(--gap)))/var(--cols));
  min-width:0
}
:is(.grid2,.grid3,.grid4,.grid5,.grid6)>[hidden]{display:none}
.auto{display:grid;gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr))}
/* Sin wrappers, sin JS: el número de hijos decide el balance de las dos últimas filas. */
@container (min-width:52.01rem){
.grid3>:nth-child(3n/**/+1):nth-last-child(4),.grid3>:nth-child(3n/**/+1):nth-last-child(4)~*{--cols:2}
.grid4>:nth-child(4n/**/+1):nth-last-child(5),.grid4>:nth-child(4n/**/+1):nth-last-child(5)~*,
.grid4>:nth-child(4n/**/+1):nth-last-child(6),.grid4>:nth-child(4n/**/+1):nth-last-child(6)~*, .grid5>:nth-child(5n/**/+1):nth-last-child(6),.grid5>:nth-child(5n/**/+1):nth-last-child(6)~*{--cols:3}
.grid5>:nth-child(5n/**/+1):nth-last-child(7),.grid5>:nth-child(5n/**/+1):nth-last-child(7)~*,
.grid5>:nth-child(5n/**/+1):nth-last-child(8),.grid5>:nth-child(5n/**/+1):nth-last-child(8)~*, .grid6>:nth-child(6n/**/+1):nth-last-child(7),.grid6>:nth-child(6n/**/+1):nth-last-child(7)~*,
.grid6>:nth-child(6n/**/+1):nth-last-child(8),.grid6>:nth-child(6n/**/+1):nth-last-child(8)~*{--cols:4}
.grid6>:nth-child(6n/**/+1):nth-last-child(9),.grid6>:nth-child(6n/**/+1):nth-last-child(9)~*,
.grid6>:nth-child(6n/**/+1):nth-last-child(10),.grid6>:nth-child(6n/**/+1):nth-last-child(10)~*{--cols:5}
}
/* Los contenedores aislados forman un contexto de ancho propio. */
[data-context],.container,.card{container-type:inline-size}
@container (max-width:44rem){.grid3,.grid4,.grid5,.grid6{--cols:2}}
@container (max-width:28rem){.grid2,.grid3,.grid4,.grid5,.grid6{--cols:1}}

:is(.grid,.auto,.flex)>*{min-width:0;}
.aside{grid-template-columns:minmax(9.5rem,11rem) minmax(0,1fr);align-items:stretch;}
.aside>.wrapper{display:flex;position:relative;min-height:0;}
.aside>.wrapper>*{flex:1;min-height:0;}
.cover,.hero,.viewer-shell{position:relative;}
.cover,.hero{overflow:hidden;background:#000;color:#fff;}
.inverse{background:var(--fg);color:var(--bg);}
.cover{min-height:10rem;text-align:left;}
.cover::after,.hero::after,.viewer-shell::after{content:"";position:absolute;inset:0;background:#0009;}
.cover>.caption{position:absolute;inset:auto .55rem .5rem;}
.pad{padding:clamp(.55rem,1.2vw,.8rem);}
.center,.icon-btn{display:grid;place-items:center;}
.center{text-align:center;}
[data-card-cover]{flex:1 1 0;min-height:0;height:0;object-fit:cover;}
.upper{font-family:monospace;text-transform:uppercase;letter-spacing:.12em;font-size:.68rem;}
.accent-script{font-style:italic;font-weight:600;letter-spacing:.01em;}
.accent-script.featured{font-size:clamp(1.2rem,2.2vw,1.75rem);line-height:.95;}
.muted{color:var(--fg);opacity:.72;}
:is(.cover,.hero,.modal,.comments) :is(.muted,.accent){color:#fff;}
.inverse :is(.muted,.accent){color:inherit;}
.small{font-size:.75rem;}
.micro{font-size:.6rem;}
.display{font-size:clamp(2.5rem,5vw,4.2rem);line-height:.9;letter-spacing:-.06em;font-weight:850;}
.title,.post-body h2{font-size:clamp(1.65rem,2.6vw,2.3rem);line-height:.95;letter-spacing:-.045em;font-weight:800;}
[data-brand-logo]{width:clamp(8.5rem,13vw,10.5rem);}
[data-brand-name]{font-size:clamp(1.05rem,2.4vw,1.35rem);font-weight:850;letter-spacing:-.045em;line-height:1;}
[data-brand-mark]{width:2.35rem;height:2.35rem;object-fit:contain;}
#theme-root :is([data-brand-logo],[data-brand-mark]){filter:brightness(0) invert(1);}
.rule{width:2rem;height:.08rem;background:var(--fg);opacity:.55;}
:is(.cover,.hero,.modal,.comments) .rule{background:#fff;}
.inverse .rule{background:currentColor;}
.accent{color:var(--accent-text);}
[data-cta=true]{background:var(--accent);color:#fff;border-color:var(--accent);}
[data-cta=true]:hover{background:#000;color:#fff;border-color:#000;}
.i{width:1.1rem;height:1.1rem;flex:none;}
.media,progress{width:100%;}
.fill,.abs,.rail2 img{height:100%;object-fit:cover;}
.abs{position:absolute;inset:0;}
[data-videos-list]{position:absolute;inset:0;overflow:hidden;align-items:center;}
:is([data-videos-list],[data-public-sessions])>.card{min-height:0;}
[data-public-sessions]{position:relative;inset:auto;overflow:visible;align-content:start;}
[data-videos-list]>.soy-media-card{height:100%;overflow:hidden;}
[data-videos-list] .soy-media-card-cover{flex:1 1 0;aspect-ratio:9/16;min-height:10rem;}
[data-videos-list] .soy-media-card-cover>[data-video-open]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;}
[data-video-preview]{position:relative;min-height:0;overflow:hidden;background:#000;}
[data-wide=true]{aspect-ratio:16/9;}
[data-video-open] .icon-btn{position:relative;z-index:1;background:#000c;color:#fff;}
[data-video-lightbox]{position:relative;width:min(94vw,50.625dvh,34rem);aspect-ratio:9/16;background:#000;overflow:hidden;}
[data-video-lightbox][data-layout="album"]{width:min(94vw,calc(88dvh * 1.7778),72rem);aspect-ratio:16/9;}
[data-video-player-host]{width:100%;height:100%;background:#000;}
[data-video-player-host]>:is(iframe,video){display:block;width:100%;height:100%;border:0;background:#000;}
.album-modal [data-album-song-video]{width:100%;aspect-ratio:16/9;border:0;background:#000;}
[data-video-lightbox]>header{position:absolute;inset:0 0 auto;z-index:2;padding:1rem;background:#0008;}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:2.6rem;padding:.6rem .9rem;border:1px solid currentColor;border-radius:.65rem;background:var(--fg);color:var(--bg);font-weight:750;}
.btn.alt,.icon-btn{background:transparent;color:inherit;}
.icon-btn{width:2.2rem;aspect-ratio:1;border:1px solid currentColor;border-radius:50%;flex:none;}
.float{position:fixed;right:1rem;bottom:1rem;z-index:6;width:3.2rem;background:#000;color:#fff;}
.dock{place-items:end;}
.card{border:1px solid var(--line);border-radius:.65rem;overflow:hidden;box-shadow:0 .35rem 1rem #0001;}
[data-session-card]{display:grid;grid-template-columns:minmax(4.5rem,38%) minmax(0,1fr);align-items:stretch;}
[data-session-card]>a{display:block;min-height:7.5rem;overflow:hidden;background:#000;}
[data-session-card]>.pad{justify-content:center;}
[data-skip]{position:fixed;top:.5rem;left:.5rem;z-index:6;transform:translateY(-160%);}
[data-skip]:focus{transform:none;}
.cover>*:not(img),.hero>.container,[data-viewer-main]{z-index:1;}
.viewer-shell>header,:is([data-prev],[data-next],[data-viewer-meta]){z-index:2;}
#theme-root>header>.container{white-space:nowrap;}
#theme-root>header>.container>div>*{display:grid;place-items:center;width:2.15rem;height:2.15rem;cursor:pointer;}
.hero{min-height:clamp(22rem,29vw,24.5rem);display:grid;align-items:stretch;}
.hero>[data-hero-slide]>img{width:100%;height:100%;object-fit:cover;object-position:68% 36%;}
.hero>[data-hero-slide]{opacity:1;}
.hero>.container{position:relative;min-height:100%;display:flex;flex-direction:column;justify-content:center;padding:clamp(3rem,5vw,4rem) 0;}
.hero .display{max-width:16ch;}
.hero p{max-width:min(32rem,60vw);font-size:clamp(.76rem,.9vw,.88rem);}
.hero .btn.alt{color:#fff;}
.card h3{font-size:.8rem;line-height:1;}
.blog-posts.grid4 :is(.post-outer,.post){height:100%;}
.blog-posts.grid4 .post{display:grid;grid-template-rows:auto 1fr;}
.blog-posts.grid4 .title{font-size:clamp(1rem,1.7vw,1.45rem);line-height:1.02;overflow-wrap:anywhere;}
.blog-posts.grid4 .cover{aspect-ratio:16/9;min-height:0;background:#000;}
.soy-cinema-map [data-home-card="blog"]{background:#000;}
.soy-cinema-map [data-home-card="blog"]>img[hidden]{display:none;}
.post-body{font-size:clamp(.98rem,1.2vw,1.08rem);line-height:1.75;}
.post-body p{margin-bottom:var(--gap);}
.post-body h2{margin:clamp(1.6rem,4vw,2.6rem) 0 var(--gap);}
.post-body :is(img,video,iframe){margin:var(--gap) auto;}
blockquote{margin:.15rem 0;}
.comments{margin-top:clamp(1.5rem,4vw,3rem);padding:clamp(1rem,3vw,2rem);background:#000;color:#fff;--line:#fff3;color-scheme:dark;}
.comments :is(a,h3,h4,p,.comment-author,.comment-body,.comment-footer){color:inherit;}
.comments :is(.comments-content,#comments-block,.comment-thread,.comment-form){width:100%;min-width:0;}
.comments .comment{padding:var(--gap) 0;border-top:1px solid var(--line);}
.comments :is(.comment-actions,.comment-footer,.paging-control-container){display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;}
.comments :is(.comment-actions,.paging-control-container) a,.comments .comment-footer>a,.comments .item-control a{display:inline-flex;align-items:center;justify-content:center;min-height:2rem;padding:.3rem .55rem;border:1px solid #fff5;border-radius:.45rem;background:#000;color:#fff;text-decoration:none;cursor:pointer;}
.comments :is(.comment-actions,.paging-control-container) a:hover,.comments .comment-footer>a:hover,.comments .item-control a:hover,.hero .btn:first-of-type,[data-buybar] .btn{background:#fff;color:#000;}
.comments :is(a,button,iframe){pointer-events:auto;}
.comments .comment-timestamp{opacity:.65;}
.comments .comment-footer{opacity:1;}
.comments iframe{max-width:100%;background:#000;color-scheme:dark;}
.comments .comments-content .comment-thread{margin:.5rem 0;}
.comments .comments-content .comment-thread ol{margin:0;padding:0;list-style:none;}
.comments .comments-content .inline-thread{padding:.5rem 0;}
.comments .comments-content .comment-replies{margin-top:var(--gap);margin-left:clamp(1rem,4vw,3rem);}
.comments .comments-replybox{width:100%;height:clamp(12rem,40dvh,16rem);border:0;background:#fff;}
.comments .comment-replybox-single{margin-top:.35rem;margin-left:clamp(1rem,4vw,3rem);}
.comments .comment-replybox-thread{margin-top:.35rem;}
.comments .thread-toggle,.comments .continue,.comments .comments-content .loadmore{cursor:pointer;}
.comments .thread-toggle{display:inline-block;}
.comments .continue a,.comments .comments-content .loadmore a,.comments .comments-content .loadmore{max-height:3rem;margin-top:var(--gap);}
.comments .comments-content .loadmore.loaded{max-height:0;opacity:0;overflow:hidden;}
.comments .thread-chrome.thread-expanded{display:block;}
footer{padding:.55rem 0;border-top:1px solid var(--line);}
html[data-modal-open=true],html[data-modal-open=true] body{overflow:hidden;overscroll-behavior:none;}
.modal{position:fixed;inset:0;z-index:7;display:none;place-items:center;overflow:hidden;background:#000c;color:#fff;--line:#fff4;overscroll-behavior:none;}
:is(#clave,#pago,#descarga){z-index:8;}
:is(#foto,#video){z-index:8;}
.modal[data-open=true][data-modal-active=true],:is(#clave,#pago,#descarga,#foto,#video)[data-open=true][data-modal-active=true]{z-index:9;}
.modal[data-open=true]{display:grid;}
.modal[data-open=true]:not([data-modal-active=true]){pointer-events:none;}
.modal>.card{container-type:inline-size;width:100%;height:100%;overflow:hidden auto;background:#000;border:0;border-radius:0;overscroll-behavior:contain;}
.modal>.card>header{position:sticky;top:0;z-index:7;background:#000;border-bottom:1px solid #fff4;}
.modal>[data-compact]{width:min(94vw,38rem);height:auto;max-height:92dvh;border:1px solid var(--line);border-radius:.65rem;}
.modal :is(input,textarea,select){width:100%;padding:.75rem;border:1px solid #fff4;border-radius:.55rem;background:#000;color:#fff;}
[disabled]{cursor:not-allowed;opacity:.5;}
.caption{gap:.05rem;}
.service-pane{grid-template-columns:minmax(17rem,24rem) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-items:stretch;}
.service-pane>.stack:first-child{grid-column:1;grid-row:1 / span 2;min-width:0;align-self:start;}
.service-pane>.stack:nth-child(2){grid-column:2;grid-row:1;min-width:0;padding:1rem 1rem 0;}
.service-pane>[data-gallery]{grid-column:2;grid-row:2;min-width:0;min-height:0;}
.service-pane>.stack{padding:clamp(1rem,2.2vw,1.5rem);}
.service-pane>.stack .title{font-size:clamp(2rem,3.2vw,3rem);font-weight:500;line-height:.98;letter-spacing:-.04em;}
.service-pane [data-list]{gap:.7rem;padding:.8rem 0;border-block:1px solid #fff2;}
.service-pane [data-list] .flex{align-items:flex-start;}
.service-pane [data-gallery]{position:relative;min-width:0;min-height:0;align-content:start;padding:.15rem 1rem 1rem 0;}
.service-pane [data-gallery] [data-service-gallery-loading]:not([hidden]){position:absolute;inset:auto 0 0;z-index:1;min-height:3.5rem;display:grid;place-items:center;background:linear-gradient(transparent,#080808db);}
.service-pane [data-gallery] [data-photo-open]{display:block;min-width:0;overflow:hidden;background:#000;aspect-ratio:3/4;border:2px solid var(--bg);box-sizing:border-box;}
.service-pane [data-gallery] img{display:block;width:100%;height:100%;object-fit:cover;border:0;}
.service-pane [data-service-gallery-loading]{padding:.5rem;}
[data-album-card]>img{height:12rem;object-fit:cover;background:#000;}
.album-modal>.card,.album-modal>.card>header{background:var(--bg);color:var(--fg);border-color:var(--line);min-width:0;}
.album-modal>.card>header [data-album-modal-title]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(1.05rem,1.55vw,1.3rem);line-height:1.15;}
.album-modal .muted{color:var(--fg);}
.album-modal .accent{color:var(--accent-text);}
[data-album-hero]{min-height:clamp(13rem,28vw,20rem);border-radius:.65rem;}
[data-album-hero] .accent-script{font-size:clamp(1.4rem,3vw,2.4rem);}
:is([data-gallery-loader],[data-album-loading]){min-height:calc(100dvh - 5rem);}
[data-gallery-loader]{position:fixed;inset:0;z-index:3;min-height:100dvh;background:#000;color:#fff;pointer-events:none;}
[data-gallery-more-loader]{min-height:6rem;padding:1rem;color:var(--fg);scroll-margin-block:4rem;}
[data-gallery-more-loader] [data-focus-orbit]{width:2.6rem;}
[data-album-loading]{background:var(--bg);color:var(--fg);}
/* Estados reales del album: las clases .center (grid) y .stack (flex) no deben anular hidden. */
#theme-root [data-album-loading][hidden],#theme-root [data-album-content][hidden]{display:none;}

[data-focus-orbit]{position:relative;width:5rem;aspect-ratio:1;border:1px solid currentColor;border-radius:50%;opacity:.85;animation:focus-orbit 1.1s linear infinite;}
[data-focus-orbit]::before{content:"";position:absolute;top:-.34rem;left:50%;width:.68rem;aspect-ratio:1;border-radius:50%;background:currentColor;transform:translateX(-50%);box-shadow:2.15rem 3.55rem 0 -.08rem currentColor,-2.15rem 3.55rem 0 -.08rem currentColor;}
[data-focus-orbit]::after{content:"";position:absolute;inset:1.15rem;border:1px solid currentColor;border-radius:50%;opacity:.55;}
@keyframes focus-orbit{
to{transform:rotate(1turn)}
}
/* Galerías: un Grid contextual de 12 unidades; la última fila se justifica con CSS.
   Miniaturas encuadradas; originales sin recorte en lightbox. Sin medidores ni dense. */
.photo-grid{--grid-gap:.35rem;--tile-ratio:3/4;width:100%;min-width:0;align-items:stretch;}
.photo-grid>:is(button,[data-photo-open]){display:block;position:relative;min-width:0;min-height:0;width:100%;height:auto;aspect-ratio:var(--tile-ratio);overflow:hidden;border-radius:.4rem;}
.photo-grid>:is(button,[data-photo-open]) img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;}
.photo-grid>[hidden]{display:none;}
[data-album-content]{container-type:inline-size;width:100%;}
.rail2{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:.35rem;min-width:0;overflow:hidden;}
.rail2 button{width:100%;overflow:hidden;background:#000;height:100%;}
.rail2 img{width:100%;max-width:none;}
.photo-grid button{margin:0;padding:0;border:0;background:#000;}
.photo-grid [data-selectable='true']::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22112%22%20viewBox%3D%220%200%20180%20112%22%3E%3Cg%20transform%3D%22rotate%28-25%2090%2056%29%22%3E%3Ctext%20x%3D%2290%22%20y%3D%2259%22%20font-family%3D%22Arial%2Csans-serif%22%20font-weight%3D%22700%22%20font-size%3D%2215%22%20letter-spacing%3D%221.2%22%20text-anchor%3D%22middle%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.46%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.3%22%20stroke-width%3D%221.7%22%20paint-order%3D%22stroke%22%3EVISTA%20PREVIA%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-position:center;background-size:150px 94px;background-repeat:repeat;}
.photo-grid [data-selectable]::after{content:"";position:absolute;top:.45rem;right:.45rem;z-index:2;width:1.55rem;aspect-ratio:1;border:1px solid #fff;border-radius:.25rem;background:#000b center/.92rem no-repeat;}
.photo-grid [data-selectable][data-selected=true]{outline:2px solid #fff;outline-offset:-2px;}
.photo-grid [data-selectable][data-selected=true]::after{background:#fff url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m5%2012%205%205L20%207'/%3E%3C/svg%3E") center/.92rem no-repeat;}
.photo-grid [data-selectable],.photo-grid [data-selectable] img{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;}
.photo-grid [data-selectable] img{pointer-events:none;-webkit-user-drag:none;}
/* CAPAS 1-9 · CONTENEDORES INDEPENDIENTES: los pinceles nunca atraviesan las barras.
   1 contenido / 2 superposiciones / 3 controles miniatura / 4-5 auxiliares /
   6 cabecera principal / 7 cabeceras y barras / 8 modales / 9 modal activo. */
#galeria>.card>.wrapper{position:relative;z-index:1;isolation:isolate;}
#galeria [data-gallery-grid],#galeria [data-gifts-grid]{position:relative;z-index:1;isolation:isolate;}
#galeria>.card>header{position:sticky;z-index:7;isolation:isolate;background:#000;box-shadow:0 1px 0 #ffffff26;}
#galeria .soy-edit-tile,#galeria .soy-gift-tile,#galeria .sjh-video-tile{isolation:isolate;}
/* Barra de selección por encima de todos los pinceles y miniaturas. */
#galeria [data-buybar]{position:sticky;bottom:0;z-index:7;isolation:isolate;padding:.7rem calc(.7rem + env(safe-area-inset-right,0px)) calc(.7rem + env(safe-area-inset-bottom,0px)) calc(.7rem + env(safe-area-inset-left,0px));background:#000;border-top:1px solid #fff4;box-shadow:0 -8px 20px #0008;}
.viewer-shell{--thumb-h:clamp(3.5rem,7vw,4.75rem);width:100vw;height:100dvh;min-height:100svh;display:grid;place-items:center;overflow:hidden;touch-action:pan-y pinch-zoom;}
.viewer-shell[data-thumbs-rows="2"]{--thumb-h:clamp(7.4rem,17dvh,9.25rem);}
[data-viewer-blur]{position:absolute;inset:-3rem;object-fit:cover;filter:blur(2rem);opacity:.4;transform:scale(1.08);}
[data-viewer-main]{position:relative;width:100%;height:100%;max-width:100vw;max-height:100dvh;object-fit:contain;}
/* Mismo lightbox: fotos y videos usan controles, contador y miniaturas comunes. */
#foto :is([data-viewer-video],[data-viewer-original-video]){display:block;position:relative;z-index:1;width:min(94vw,150vh);height:min(78dvh,75vw);aspect-ratio:16/9;max-width:100vw;border:0;background:#000;object-fit:contain;}
#foto :is([data-viewer-video],[data-viewer-original-video],[data-viewer-main])[hidden]{display:none;}
#foto [data-viewer-quality]{font-size:.7rem;font-weight:500;letter-spacing:0;opacity:.85;}
#foto [data-viewer-video]:focus-visible{outline:2px solid #fff;}
#foto [data-viewer-thumbs] .sjh-video-thumb::after{content:'▶';position:absolute;inset:auto .2rem .2rem auto;padding:.1rem .25rem;background:#000c;color:#fff;border-radius:.3rem;font-size:.7rem;pointer-events:none;}
#foto [data-viewer-thumbs] .sjh-video-thumb{position:relative;}
#galeria .sjh-gallery-video{position:relative;overflow:hidden;background:#101010;color:#fff;}
#galeria .sjh-gallery-video>img{display:block;width:100%;height:100%;object-fit:cover;}
#galeria .sjh-gallery-video__play{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;}
#galeria .sjh-gallery-video__play>span{display:grid;place-items:center;width:3.6rem;height:3.6rem;background:#000b;border:1px solid #fffa;border-radius:50%;font-size:1.35rem;color:#fff;}
#galeria .sjh-gallery-video__name{position:absolute;bottom:0;left:0;right:0;padding:.55rem .55rem .6rem;background:linear-gradient(transparent,#000d);color:#fff;font-size:.73rem;font-weight:600;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;}
@media(max-width:650px){#foto :is([data-viewer-video],[data-viewer-original-video]){width:100vw;height:min(67dvh,85vw);}}
/* v3.6.177 · Video: visor Drive de lado a lado, con los controles de SoyJhon por encima.
   Solo se aplica cuando el archivo activo es un video: las fotografías no se alteran. */
#foto .viewer-shell[data-media="video"]{position:relative;display:block;isolation:isolate;width:100vw;height:100dvh;min-height:100dvh;overflow:hidden;background:#000;}
#foto .viewer-shell[data-media="video"]::after,#foto .viewer-shell[data-media="video"] [data-viewer-blur]{display:none;}
#foto .viewer-shell[data-media="video"] :is([data-viewer-video],[data-viewer-original-video]){position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;min-width:0;min-height:0;aspect-ratio:auto;margin:0;border:0;object-fit:contain;z-index:1;background:#000;}
#foto .viewer-shell[data-media="video"] :is([data-viewer-video],[data-viewer-original-video])[hidden]{display:none;}
#foto .viewer-shell[data-media="video"]>header{position:absolute;top:0;right:0;left:0;z-index:8;padding:calc(.75rem + env(safe-area-inset-top,0px)) calc(.9rem + env(safe-area-inset-right,0px)) .75rem calc(.9rem + env(safe-area-inset-left,0px));background:linear-gradient(to bottom,#000c 0%,#0007 52%,transparent 100%);pointer-events:none;}
#foto .viewer-shell[data-media="video"]>header :is(button,a){pointer-events:auto;}
#foto .viewer-shell[data-media="video"]>header [data-close="foto"]{position:relative;z-index:9;flex-shrink:0;background:#000e;border-color:#fff;min-width:2.65rem;min-height:2.65rem;box-shadow:0 2px 12px #000a;}
#foto .viewer-shell[data-media="video"] :is([data-prev],[data-next],[data-viewer-meta],[data-viewer-thumbs]){z-index:7;}
#foto .viewer-shell[data-media="video"] [data-viewer-thumbs]{background:linear-gradient(to top,#000d,transparent);}
/* El visor general de videos y el de los álbumes también cubren todo el viewport. */
#video [data-video-lightbox],#video [data-video-lightbox][data-layout="album"]{position:relative;isolation:isolate;display:block;width:100vw;height:100dvh;min-height:100dvh;max-width:none;max-height:none;aspect-ratio:auto;margin:0;overflow:hidden;background:#000;}
#video [data-video-player-host]{position:absolute;inset:0;z-index:1;width:100%;height:100%;}
#video [data-video-player-host]>:is(iframe,video){width:100%;height:100%;object-fit:contain;}
#video [data-video-lightbox]>header{position:absolute;top:0;right:0;left:0;z-index:8;padding:calc(.75rem + env(safe-area-inset-top,0px)) calc(.9rem + env(safe-area-inset-right,0px)) .75rem calc(.9rem + env(safe-area-inset-left,0px));background:linear-gradient(to bottom,#000c,transparent);pointer-events:none;}
#video [data-video-lightbox]>header :is(button,a){pointer-events:auto;}
#video [data-video-lightbox]>header [data-close="video"]{position:relative;z-index:9;flex-shrink:0;min-width:2.65rem;min-height:2.65rem;background:#000e;border-color:#fff;box-shadow:0 2px 12px #000a;}

.viewer-shell>header{position:absolute;top:0;left:0;right:0;padding:1rem;background:#0008;}
:is([data-prev],[data-next]){position:absolute;top:50%;transform:translateY(-50%);width:2.7rem;background:#000;}
[data-prev]{left:1rem;}
[data-next]{right:1rem;}
[data-viewer-thumbs]{position:absolute;inset:auto 0 0;height:var(--thumb-h);gap:.2rem;overflow:hidden;padding:0;}
[data-viewer-thumbs] button{flex:1 1 0;min-width:0;height:100%;aspect-ratio:auto;overflow:hidden;background:#000;border:1px solid #fff4;}
/* Galerías extensas: dos hileras horizontales de miniaturas legibles, no una tira comprimida. */
.viewer-shell[data-thumbs-rows="2"] [data-viewer-thumbs]{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:clamp(4.5rem,6.5vw,6rem);column-gap:.25rem;row-gap:.25rem;padding:.2rem .4rem;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;touch-action:pan-x;align-content:stretch;justify-content:start;}
.viewer-shell[data-thumbs-rows="2"] [data-viewer-thumbs] button{flex:none;width:100%;height:100%;min-height:0;}
@media(max-width:650px){.viewer-shell[data-thumbs-rows="2"]{--thumb-h:6.5rem;}.viewer-shell[data-thumbs-rows="2"] [data-viewer-thumbs]{grid-auto-columns:3.6rem;gap:.18rem;padding:.15rem .25rem;}}

[data-viewer-thumb][aria-current=true]{border-color:currentColor;}
[data-viewer-meta]{position:absolute;left:1rem;bottom:calc(var(--thumb-h) + .75rem);font:.7rem/1.3 monospace;}
[data-viewer-loader]{position:absolute;inset:0;z-index:1;background:#000;}
.viewer-shell[data-loading=true] :is([data-viewer-main],[data-viewer-blur],[data-prev],[data-next],[data-viewer-thumbs],[data-viewer-meta]){visibility:hidden;}
[data-debugger]{font:.68rem/1.4 monospace;}
[data-debugger] pre{margin:0;max-height:56vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;}
[data-debug-status]{padding:.55rem .65rem;border:1px solid var(--line);border-radius:.55rem;}
[data-debug-status][data-state=ok]{border-color:currentColor;}
[data-debug-status][data-state=error]{border-style:dashed;}
[data-debugger] [data-debug-actions]{align-items:center;}
@container (max-width:54rem){
.aside,.service-pane{grid-template-columns:1fr;}
.service-pane{grid-template-rows:auto;}
.service-pane>.stack:first-child,.service-pane>.stack:nth-child(2),.service-pane>[data-gallery]{grid-column:1;grid-row:auto;}
.service-pane>.stack:nth-child(2){padding:0 1rem;}
.aside>.wrapper>:is(.rail2,[data-videos-list]){position:relative;inset:auto;min-height:clamp(20rem,90vw,32rem);}
.service-pane [data-gallery]{padding:0 1rem 1rem;}
[data-videos-list]{min-height:0;}
[data-videos-list]>.card{height:auto;}
[data-videos-list] .soy-media-card-cover{flex:none;aspect-ratio:9/16;}

}
:is([data-session-card]>a img,[data-viewer-thumbs] img){width:100%;height:100%;object-fit:cover;}
html[data-immersive-route="true"]{overflow-x:clip;overflow-y:auto;overscroll-behavior:auto;}
html[data-immersive-route="true"] body{overflow:visible;overscroll-behavior:auto;}
html[data-immersive-route="true"]:has(.modal[data-open="true"]:not([data-immersive-page="true"])),
html[data-immersive-route="true"]:has(.modal[data-open="true"]:not([data-immersive-page="true"])) body{overflow:hidden;overscroll-behavior:none;}
html[data-immersive-route="true"] #theme-root{min-height:100dvh;display:flex;flex-direction:column;}
html[data-immersive-route="true"] #theme-root > :not(header):not(footer):not(.modal):not(svg):not([data-site-marquee]):not([data-service-modals][data-immersive-host="true"]){display:none;}
html[data-immersive-route="true"] #theme-root > header,html[data-immersive-route="true"] #theme-root > footer{display:block;}
html[data-immersive-route="true"] #theme-root > footer{margin-top:auto;}
html[data-immersive-route="true"] #theme-root > .modal[data-immersive-page="true"][data-open="true"]{position:relative;inset:auto;z-index:1;display:block;flex:1;min-height:60dvh;width:100%;overflow:visible;overscroll-behavior:auto;background:var(--bg,#000);}
html[data-immersive-route="true"] #theme-root > .modal[data-immersive-page="true"] > .card{width:100%;height:auto;max-height:none;min-height:60dvh;overflow:visible;border:0;border-radius:0;container-type:normal;}



html[data-immersive-route="true"] #theme-root > .modal[data-immersive-page="true"] .wrapper{max-width:none;width:100%;}
html[data-immersive-route="true"] #theme-root > .modal[data-immersive-page="true"] [data-gallery-grid]{width:100%;}
#galeria[data-immersive="true"]{background:var(--bg);color:var(--fg);}
#galeria[data-immersive="true"]>.card{width:100%;border:0;border-radius:0;}
#galeria[data-immersive="true"]>.card>.wrapper{width:100%;max-width:none;margin:0;padding:0;}
#galeria[data-immersive="true"] [data-gallery-grid]{padding:.3rem;width:100%;max-width:none;}
#galeria[data-immersive="true"] [data-gallery-grid] button:focus-visible{outline:2px solid currentColor;outline-offset:-2px;}
#galeria[data-immersive="true"] [data-gallery-grid] button:hover img{filter:brightness(.9);}
html,body{background:var(--bg);color:var(--fg);}
#theme-root{background:var(--bg);color:var(--fg);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;}
#theme-root>header{color:var(--fg);border-bottom:1px solid var(--line);}
#theme-root>header>.container{gap:clamp(.5rem,2vw,1.5rem);}
#theme-root>header .header-static-brand{font-size:clamp(.98rem,1.8vw,1.45rem);font-weight:450;letter-spacing:.27em;text-transform:uppercase;}
#theme-root>header .flex.small{gap:clamp(.35rem,1.2vw,.8rem);}
#theme-root>header .container>div>*{width:2.15rem;height:2.15rem;}
#theme-root>header a[data-public-link]{border:1px solid #ffffff54;border-radius:50%;transition:background .2s;}
#theme-root>header a[data-public-link]:hover{background:#ffffff20;}
#theme-root .upper{font-size:.65rem;letter-spacing:.25em;font-weight:650;}
#theme-root .display{font-size:clamp(2.65rem,5.5vw,5.65rem);line-height:.98;letter-spacing:-.065em;font-weight:490;}
#theme-root .title,#theme-root .post-body h2{font-size:clamp(1.8rem,3vw,3rem);line-height:1.07;letter-spacing:-.055em;font-weight:580;}
#theme-root .hero{min-height:clamp(22rem,29vw,24.5rem);background:#090909;color:#fff;}
#theme-root .hero::after{background:linear-gradient(90deg,#000e 0%,#0009 43%,#0002 100%);}
#theme-root .hero>.container{padding:clamp(1.8rem,3vw,2.5rem) 0;}
#theme-root .hero p{max-width:38rem;line-height:1.6;}
#theme-root .hero .display{max-width:23ch;font-size:clamp(2.15rem,3.5vw,3.25rem);line-height:1.02;}
#theme-root .btn{min-height:2.85rem;padding:.68rem 1.3rem;border-radius:999px;font-weight:700;letter-spacing:-.01em;background:var(--cta-bg);color:var(--cta-fg);border:1px solid var(--cta-bg);transition:background .2s,color .2s,border-color .2s;}
#theme-root .btn:hover{filter:brightness(1.08);}
#theme-root .btn.alt{background:transparent;color:inherit;border-color:currentColor;}
#theme-root .btn.alt:hover{background:#ffffff19;}
#theme-root [data-cta=true]{background:var(--cta-bg);color:var(--cta-fg);border-color:var(--cta-bg);}
#theme-root .card{border:1px solid var(--line);border-radius:1rem;box-shadow:none;}
#theme-root .cover{border-radius:.55rem;}
#theme-root .section{padding:clamp(1.75rem,3vw,3.2rem) 0;}
#theme-root .inverse{background:var(--bg);color:var(--fg);border-block:1px solid var(--line);}
#theme-root .inverse :is(.muted,.accent){color:var(--fg);}
#theme-root :is(#portafolio,#marcas,#albumes-digitales) .title{max-width:19ch;}
#theme-root :is([data-portfolio-categories],[data-brands-list],[data-services-list],[data-album-list]) a{transition:filter .2s;}
#theme-root :is([data-portfolio-categories],[data-brands-list],[data-services-list],[data-album-list]) a:hover{filter:brightness(.91);}
#theme-root .modal{--cta-bg:#eeeae1;--cta-fg:#101010;}
#theme-root>footer{background:#080808;color:var(--fg);border-top:1px solid var(--line);padding:clamp(1.25rem,2.4vw,2rem) 0;}
#theme-root>footer .container{gap:clamp(1rem,2vw,1.6rem);}
#theme-root>footer nav{gap:clamp(.75rem,2vw,1.6rem);}
#theme-root>footer nav a:hover{text-decoration:underline;text-underline-offset:.28rem;}
#theme-root>.site-marquee{display:block;flex:none;position:relative;z-index:2;}
#theme-root>.site-marquee--top{height:2.45rem;min-height:2.45rem;flex:0 0 2.45rem;}
.site-marquee{width:100%;overflow:hidden;background:#eeeae1;color:#151515;border-block:1px solid #0b0b0b33;white-space:nowrap;contain:layout;}
.site-marquee__track{display:flex;align-items:center;gap:0;width:max-content;animation:soy-marquee 96s linear infinite;will-change:transform;}
.site-marquee--top .site-marquee__track{height:100%;}
.site-marquee__items{display:block;flex:0 0 auto;padding:0 1.25rem;white-space:nowrap;text-transform:uppercase;}
.site-marquee--top .site-marquee__items{font-size:clamp(.7rem,1.05vw,.84rem);font-weight:650;letter-spacing:.1em;line-height:2.45rem;}
.site-marquee--large .site-marquee__track{animation-duration:102s;}
.site-marquee--large .site-marquee__items{font-size:clamp(1.35rem,2.65vw,2.4rem);font-weight:475;letter-spacing:.06em;line-height:1.1;padding-block:.65rem;}
@keyframes soy-marquee{to{transform:translateX(-50%)}}
html[data-immersive-route="true"] #theme-root>.site-marquee{display:block;}
html[data-immersive-route="true"] #galeria[data-immersive-page="true"]{position:relative;inset:auto;display:block;background:var(--bg);color:var(--fg);}
html[data-immersive-route="true"] #galeria[data-immersive-page="true"]>.card{width:100%;height:auto;max-height:none;min-height:60dvh;overflow:visible;background:var(--bg);color:var(--fg);}

html[data-immersive-route="true"] #galeria[data-immersive-page="true"] [data-gallery-title]{font-size:clamp(1.05rem,1.55vw,1.3rem);font-weight:600;line-height:1.15;letter-spacing:-.025em;}
#theme-root :is(button,a,input,textarea,select):focus-visible{outline:2px solid currentColor;outline-offset:3px;}


.photo-grid [data-photo-open]::after{display:none;}

#portafolio .portfolio-intro{gap:.55rem;align-items:flex-start;}
#portafolio .portfolio-intro>p{max-width:64ch;}
:root{--site-header-height:4rem;scroll-padding-top:calc(var(--site-header-height) + .75rem);}
#theme-root{padding-top:var(--site-header-height);}
#theme-root>header{position:fixed;inset:0 0 auto;z-index:6;width:100%;height:var(--site-header-height);background:#080808;}
#theme-root>header>.container{height:100%;min-height:100%;}
#theme-root>main [id],#theme-root>section[id],#blogger-system{scroll-margin-top:calc(var(--site-header-height) + .75rem);}
html[data-immersive-route="true"] #theme-root>.modal[data-immersive-page="true"]>.card>header{position:sticky;top:var(--site-header-height);z-index:7;}

[data-gallery-more-loader][data-loading="false"] [data-focus-orbit], #galeria [data-gallery-count-label]{display:none;}
html[data-immersive-route="true"] #theme-root>[data-service-modals][data-immersive-host="true"]{display:block;flex:1;min-height:60dvh;width:100%;background:var(--bg)
;}
html[data-immersive-route="true"] #theme-root>[data-service-modals][data-immersive-host="true"]>.modal[data-immersive-page="true"][data-open="true"]{position:relative;inset:auto;z-index:1;display:block;min-height:60dvh;overflow:visible;width:100%;height:auto;padding:0;background:var(--bg);color:var(--fg)
;}
html[data-immersive-route="true"] #theme-root>[data-service-modals][data-immersive-host="true"]>.modal[data-immersive-page="true"]>.card{width:100%;max-width:none;height:auto;max-height:none;min-height:60dvh;overflow:visible;margin:0;border:0;border-radius:0;background:var(--bg);color:var(--fg)
;}
html[data-immersive-route="true"] #theme-root>[data-service-modals][data-immersive-host="true"]>.modal[data-immersive-page="true"]>.card>header{position:sticky;top:var(--site-header-height);z-index:7;}
html[data-immersive-route="true"] #theme-root>[data-service-modals][data-immersive-host="true"] .service-pane{width:min(calc(100% - 2rem),88rem);margin-inline:auto;padding-block:clamp(.75rem,2vw,1.5rem)
;}

[data-gallery-more-loader][data-loading="false"]{min-height:1px;height:1px;padding:0;overflow:hidden;}
[data-gallery-more-loader][data-loading="false"]>.stack{visibility:hidden;}
[data-gallery-more-loader][data-loading="true"]{height:auto;min-height:6rem;padding:1rem;}
#sesiones-fotos .sessions-page{gap:clamp(1rem,2vw,1.5rem);}
#sesiones-fotos [data-public-sessions]{gap:clamp(.5rem,1vw,.9rem);align-content:flex-start;align-items:flex-start;}
#sesiones-fotos [data-public-sessions]>*{min-width:0;}
/* Tarjeta multimedia compartida: foto y video usan la misma base visual. */
.soy-media-card{min-width:0;background:#0b0b0b;overflow:hidden;border:1px solid var(--line);border-radius:.75rem;}
.soy-media-card-cover{display:block;position:relative;width:100%;min-height:0;overflow:hidden;background:#161616;}
.soy-media-card-cover>img{width:100%;height:100%;object-fit:cover;}
.soy-media-card-info{flex:0 0 auto;min-width:0;gap:.3rem;padding:.7rem;}
.soy-media-card-info h3{font-size:clamp(.78rem,1vw,.92rem);line-height:1.25;overflow-wrap:anywhere;}
.soy-media-card:hover .soy-media-card-cover img{filter:brightness(.92);}
#sesiones-fotos .soy-media-card{display:flex;flex-direction:column;height:auto;align-self:flex-start;}
#sesiones-fotos .soy-media-card-cover{aspect-ratio:4/5;}
#sesiones-fotos .soy-media-card-info{display:flex;justify-content:flex-start;}
#sesiones-fotos .soy-media-card-info :is([data-card-meta],[data-card-price]){font-size:.7rem;line-height:1.35;overflow-wrap:anywhere;}
@container(max-width:54rem){.service-pane [data-gallery] [data-photo-open]{height:auto;aspect-ratio:3/4;}
.service-pane [data-gallery] img{height:100%;object-fit:cover;}}

/* Balance de fotos gestionado por .grid6; selectores antiguos :has eliminados. */
/* Las rutas inmersivas de Servicios conservan un contenedor CSS medible.
   El layout sigue respondiendo al ancho del panel, no al viewport. */
html[data-immersive-route="true"] #theme-root>[data-service-modals][data-immersive-host="true"]>.modal[data-immersive-page="true"]>.card{container-type:inline-size;}
/* Servicios mantiene su layout no uniforme, pendiente de una migración de plantilla independiente. */
/* Cabecera compacta compartida: Portafolio, Marcas, Sesiones, Servicios y album digital. */
:is(#galeria,#album-digital,[data-service-modals]>.modal)>.card>header{min-height:3.25rem;padding:.48rem clamp(.7rem,1.5vw,1.25rem);align-items:center;flex-wrap:nowrap;gap:.65rem;}
:is(#galeria,#album-digital,[data-service-modals]>.modal)>.card>header>:first-child{min-width:0;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
:is(#galeria,#album-digital,[data-service-modals]>.modal)>.card>header .icon-btn{width:2.1rem;height:2.1rem;flex:none;}
#galeria>.card>header>div:first-child{flex:1;}
#galeria [data-gallery-title]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
/* HOME: introducciones de las secciones fotograficas mas compactas. */
#theme-root :is(#portafolio,#sesiones-fotos){padding-block:clamp(1rem,2vw,1.7rem);}
#theme-root #portafolio .portfolio-intro .title{font-size:clamp(1.55rem,2.3vw,2.4rem);line-height:1.12;}


/* Header compacto con identidad permanente; el marquee mantiene contenido contextual. */
#theme-root>header>.container>a:first-child{min-width:0;max-width:calc(100% - 5.7rem)}
#theme-root>header .header-static-brand{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.3}
#theme-root>header .header-brand-image{display:block;max-width:min(56vw,260px);width:auto;height:clamp(2.05rem,4.3vw,2.9rem);object-fit:contain;object-position:left center;}
#theme-root>header .header-brand-image[hidden], #theme-root>header .header-static-brand[hidden]{display:none!important;}
#theme-root>header [data-brand-logo]{filter:none;}
@media(max-width:38rem){#theme-root>header .header-brand-image{max-width:54vw;height:2.1rem;}}

/* SOYJHON CINEMA · portada editorial, índice visual y tarjetas sin alterar flujos */
#theme-root .hero{min-height:clamp(25rem,29vw,30rem)}
#theme-root .hero .display{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.065em;font-size:clamp(3rem,5.1vw,5.6rem);max-width:13ch}
#theme-root .hero::after{background:linear-gradient(90deg,#000e 0%,#000b 34%,#0001 85%)}
#theme-root .hero .upper{letter-spacing:.28em}
#theme-root .hero>.container{padding-block:clamp(2.5rem,5vw,5rem)}
.soy-cinema-map{padding-inline:var(--page);margin-block:clamp(.9rem,1.8vw,1.25rem) 0;background:transparent}
.soy-cinema-map>a{display:flex;position:relative;align-items:flex-start;min-height:clamp(12.5rem,14.5vw,17.5rem);overflow:hidden;padding:clamp(1rem,2.2vw,2rem);background:#111;color:#fff;isolation:isolate;border:1px solid #ffffff14;border-radius:1rem;box-shadow:0 18px 45px #00000026}
.soy-cinema-map>a::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,#000f 0,#000d 38%,#0007 62%,transparent 100%)}
.soy-cinema-map>a>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;transition:transform .45s ease,filter .45s ease;filter:saturate(.96) brightness(.84)}
.soy-cinema-map>a:hover>img{transform:scale(1.05);filter:saturate(1) brightness(.92)}
.soy-cinema-map>a>span{display:flex;flex-direction:column;gap:.42rem;max-width:17rem}
.soy-cinema-map>a>span{position:relative;z-index:3;}
.soy-cinema-map strong{font:400 clamp(1.9rem,2.7vw,3rem)/.97 Georgia,"Times New Roman",serif;letter-spacing:-.045em}
.soy-cinema-map small{font-size:clamp(.8rem,.98vw,.98rem);line-height:1.42;max-width:26ch}
.soy-cinema-map em{display:grid;place-items:center;width:2.4rem;height:2.4rem;margin-top:.45rem;border:1px solid #fff;border-radius:50%;font-style:normal;background:#00000022;backdrop-filter:blur(4px)}
.soy-cinema-map .soy-cta{grid-column:auto;min-height:clamp(12.5rem,14.5vw,17.5rem);align-items:flex-start;justify-content:space-between;background:#ede9e1;color:#111;padding-block:clamp(1rem,2.2vw,2rem)}
.soy-cinema-map .soy-cta::before{content:"";position:absolute;inset:auto 4% 8% auto;width:min(18rem,28%);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at center,#00000018,transparent 68%);pointer-events:none}
.soy-cinema-map .soy-cta::after{display:none}
.soy-cinema-map .soy-cta>span{flex:1 1 auto;max-width:100%;gap:.6rem}
.soy-cinema-map .soy-cta small{font-size:.78rem;letter-spacing:.32em;color:#111;font-weight:700}
.soy-cinema-map .soy-cta strong{font-size:clamp(1.9rem,2.7vw,3rem);line-height:1;color:#111;max-width:15ch}
.soy-cinema-map .soy-cta em{margin-top:.65rem;border-color:#111;background:#111;color:#fff;flex:0 0 auto}
/* Tarjetas HOME: heredan grid3, contenido flexible, texto sin desbordes. */
.soy-cinema-map>a{min-width:0;min-height:clamp(11.5rem,18vw,17.5rem);flex-direction:column;align-items:stretch;justify-content:flex-start;}
.soy-cinema-map>a>span{width:100%;max-width:100%;min-width:0;flex:1 1 auto;}
.soy-cinema-map strong{max-width:100%;overflow-wrap:break-word;hyphens:auto;line-height:1.05;}
.soy-cinema-map small{max-width:100%;overflow-wrap:break-word;line-height:1.38;}
.soy-cinema-map em{margin-top:auto;flex:0 0 auto;align-self:flex-start;}
.soy-cinema-map .soy-cta{min-width:0;min-height:clamp(11.5rem,18vw,17.5rem);}
.soy-cinema-map .soy-cta>span{min-width:0;flex:1 1 auto;}
.soy-cinema-map .soy-cta small{letter-spacing:clamp(.06em,.25vw,.2em);overflow-wrap:anywhere;}
.soy-cinema-map .soy-cta strong{overflow-wrap:normal;word-break:normal;hyphens:auto;}




/* RUTAS UNIFICADAS: una sola vista renderizada, sin HOME apilado ni scroll a secciones. */
/* Estado establecido antes del primer pintado y sincronizado en cada cambio de historial. */
html[data-site-view] #theme-root #contenido > *{display:none;}
html[data-site-view="home"] #theme-root #contenido > .hero[data-site-hero]{display:grid;}
html[data-site-view="home"] #theme-root #contenido > .soy-cinema-map.grid3{display:flex;flex-wrap:wrap;}
html[data-site-view="home"] #theme-root #contenido > #blogger-system,
html[data-site-view="home"] #theme-root #contenido > .soy-blog-intro{display:block;}
html[data-site-view="home"] #theme-root #contenido > :is(#blogger-system,.soy-blog-intro)[hidden], html[data-site-view="section"] #theme-root #contenido > *{display:none;}
/* Vistas inmersivas cortas: el footer ocupa el fondo sin añadir altura artificial. */
html[data-site-view="section"] #theme-root{display:flex;flex-direction:column;min-height:100dvh;}
html[data-site-view="section"] #theme-root #contenido{display:block;flex:1 0 auto;min-height:0;margin:0;padding:0;}
html[data-site-view="section"] #theme-root #contenido > [data-section-active="true"]:not([hidden]){display:block;min-height:0;padding-block:clamp(1rem,2.5vw,2.5rem);}
/* Cierre universal de secciones en navegación inmersiva, sin forzar el botón Inicio. */
html[data-site-view="section"] #theme-root #contenido > [data-section-active="true"]{position:relative;}
.soy-section-close{position:sticky;top:calc(var(--site-header-height,3.75rem) + .65rem);z-index:7;display:flex;justify-content:flex-end;pointer-events:none;height:0;min-height:0;overflow:visible;width:100%;}
/* Reutilización: misma geometría, accesibilidad y estados de cierre para secciones y galerías. */
.soy-section-close button,#sesiones-fotos .soy-sessions-page-header .icon-btn{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line,#555);border-radius:50%;color:var(--fg,#fff);font-size:1.5rem;line-height:1;cursor:pointer;}
.soy-section-close button{pointer-events:auto;width:2.65rem;height:2.65rem;background:var(--bg,#080808);box-shadow:0 2px 16px #0008;}
.soy-section-close button:hover,#sesiones-fotos .soy-sessions-page-header .icon-btn:hover{background:#272727;}
.soy-section-close button:focus-visible,#sesiones-fotos .soy-sessions-page-header .icon-btn:focus-visible{outline:2px solid currentColor;outline-offset:3px;}
@media(max-width:650px){.soy-section-close{top:calc(var(--site-header-height,3.75rem) + .45rem);}.soy-section-close button{width:44px;height:44px;}}

/* SoyJhon v23: cabecera de Sesiones igual a las cabeceras de álbum, sin doble botón de cierre. */
html[data-site-view="section"] #theme-root #contenido > #sesiones-fotos[data-section-active="true"]{padding-top:0;padding-bottom:clamp(.8rem,2vw,1.6rem);}
#sesiones-fotos .soy-sessions-page-header{position:sticky;top:var(--site-header-height,4rem);z-index:7;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4rem;padding:.55rem clamp(1rem,2.2vw,1.6rem);margin:0 0 clamp(.75rem,1.6vw,1.3rem);background:#000;border-bottom:1px solid #fff4;}
#sesiones-fotos .soy-sessions-page-title{margin:0;min-width:0;font-family:inherit;font-size:clamp(1.05rem,1.55vw,1.3rem);font-weight:650;line-height:1.2;}
#sesiones-fotos .soy-sessions-page-header .icon-btn{flex:0 0 auto;background:transparent;}
#sesiones-fotos .sessions-page{padding-top:0;}
@media(max-width:650px){#sesiones-fotos .soy-sessions-page-header{min-height:3.75rem;padding:.45rem 1rem;}}


html[data-site-view="section"] #theme-root > :is(.site-marquee,[data-kobot-launcher]){display:none;}
html[data-site-view="section"] #theme-root > footer{display:block;flex-shrink:0;margin-top:auto;}
/* En rutas de galería, el contenedor principal nunca compite con la vista inmersiva. */
html[data-site-view="detail"] #theme-root #contenido, html[data-site-view="detail"] #theme-root > :is(.site-marquee,[data-kobot-launcher]){display:none;}
/* El atributo hidden debe prevalecer sobre el layout base, incluidos grid/stack/center. */
#theme-root [hidden]{display:none;}
/* BLOG HOME: artículos nativos antes del contenido complementario, sin tarjeta duplicada. */
html:has(#contenido) #blogger-system{display:block;min-height:0;}
html:has(#contenido) .soy-blog-intro{display:block;padding-block:clamp(1.75rem,3vw,2.75rem);}
html:has(#contenido) #blogger-system{padding-top:0;padding-bottom:clamp(2rem,4vw,4rem);}
html:has(#contenido) .soy-blog-intro .title{font:400 clamp(1.8rem,3.3vw,3rem)/1.06 Georgia,"Times New Roman",serif;letter-spacing:-.035em;}
html:has(#contenido) .soy-blog-intro .container{align-items:flex-start;text-align:left;}
html:has(#contenido) #blogger-system .blog-posts.grid4{display:flex;flex-wrap:wrap;gap:var(--gap);}
html:has(#contenido) #blogger-system .blog-posts>.post{min-width:0;}





/* CARPETAS REALES · el diseño y las columnas heredan grid6 (Flexbox) y soy-media-card. */
.sjh-folder-nav{--gap:.35rem;padding:.35rem}
.sjh-folder-cards{--grid-gap:.35rem;align-items:stretch}
.sjh-folder-card{--gap:0;width:auto;min-width:0;padding:0;text-align:left;color:inherit}
.sjh-folder-card .soy-media-card-cover{aspect-ratio:3/4;flex:0 0 auto}
.sjh-folder-card .soy-media-card-cover[data-cover-empty='true']{background:linear-gradient(135deg,#252525,#111)}
.sjh-folder-symbol{position:absolute;left:.55rem;bottom:.55rem;width:2.4rem;height:2.4rem;border-radius:.5rem;background:#080808d9;font-size:1.3rem;box-shadow:0 2px 12px #0007}
.sjh-folder-card .soy-media-card-info{overflow-wrap:anywhere;font-size:.85rem;font-weight:650;line-height:1.3;min-height:3rem}
.sjh-folder-back{align-self:flex-start}
/* SOYJHON: selección compacta; CSS común para todas las pantallas. */

/* DEBUG: pantalla completa y scroll interno, sin afectar galerías. */
#theme-root [data-debugger][data-open=true]{position:fixed;inset:0;z-index:9;display:grid;place-items:stretch;padding:0;background:#070707}
#theme-root [data-debugger]>.card{width:100%;height:100dvh;max-height:100dvh;max-width:none;margin:0;border:0;border-radius:0;display:flex;flex-direction:column;overflow:hidden}
#theme-root [data-debugger]>.card>.stack{min-height:0;flex:1;overflow:auto}
#theme-root [data-debugger] [data-debug-log]{max-height:none;min-height:35dvh;overflow:auto;flex:1;white-space:pre-wrap;overflow-wrap:anywhere}
#theme-root [data-debugger]> .card>header{flex:0 0 auto}




/* Botones de portada: base escritorio, dos acciones legibles en una fila. */
#theme-root .hero .flex.wrap{display:flex;align-items:center;flex-wrap:nowrap;gap:.75rem;width:max-content;max-width:100%;}
#theme-root .hero .flex.wrap>.btn{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:auto;min-width:max-content;min-height:3.05rem;padding:.75rem 1.2rem;gap:.55rem;border-radius:999px;font-size:.86rem;line-height:1.2;white-space:nowrap;}
#theme-root .hero .flex.wrap>.btn>span{white-space:nowrap;overflow-wrap:normal;}
#theme-root .hero .flex.wrap>.btn svg{width:1rem;height:1rem;flex:0 0 1rem;}
#theme-root .hero .flex.wrap>.btn.alt{border-color:#ffffffb3;background:#0002;color:#fff;}
#theme-root .hero .flex.wrap>.btn:focus-visible{outline:2px solid #fff;outline-offset:3px;}

/* Fallback viewport unificado: 2 escalas y preferencia de movimiento. */
@media(max-width:52rem){
/* Galerías inmersivas y fotos de álbum: dos columnas reales también en pantallas estrechas.
   No modificar miniaturas de viewer ni tarjetas de HOME. */
/* Fotos, videos y carpetas comparten el mismo Flexbox de dos columnas. */
#theme-root :is(.photo-grid,.sjh-folder-cards).grid6{--cols:2;--grid-gap:clamp(.35rem,1.4vw,.6rem);}
#theme-root :is(.photo-grid,.sjh-folder-cards).grid6>*{flex:0 0 calc((100% - var(--grid-gap))/2);max-width:calc((100% - var(--grid-gap))/2);}
/* Base móvil: grid3 de HOME en dos columnas; sin cambiar otras cuadrículas. */
html[data-site-view="home"] #theme-root #contenido>.soy-cinema-map.grid3{--cols:2;--grid-gap:clamp(.55rem,2vw,.85rem);padding-inline:clamp(.75rem,3vw,1.25rem)}
html[data-site-view="home"] #theme-root #contenido>.soy-cinema-map.grid3>a:not([hidden]){flex-grow:0;}
#theme-root .hero .flex.upper{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;max-width:100%;font-size:clamp(.55rem,2vw,.72rem);letter-spacing:clamp(.07em,.2vw,.14em);line-height:1.4;}
#theme-root .hero .flex.upper>span{min-width:0;overflow-wrap:anywhere;}
.soy-cinema-map>a,.soy-cinema-map .soy-cta{padding:clamp(.78rem,2.9vw,1.15rem);min-height:clamp(12.5rem,42vw,17rem);border-radius:clamp(.6rem,2.5vw,1rem)}
.soy-cinema-map strong,.soy-cinema-map .soy-cta strong{font-size:clamp(1.24rem,4.25vw,1.9rem);line-height:1.06;letter-spacing:-.035em;}
.soy-cinema-map small{font-size:clamp(.74rem,2.55vw,.91rem);line-height:1.38;}
.soy-cinema-map .soy-cta small{font-size:clamp(.58rem,2vw,.75rem);line-height:1.3;letter-spacing:.12em;}
.soy-cinema-map em,.soy-cinema-map .soy-cta em{width:2.15rem;height:2.15rem;margin-top:auto;}
/* CTA del hero: columna flexible, sin textos ni botones cortados. */
/* CTA HERO: misma geometría, iconos alineados y textos legibles en móvil. */
#theme-root .hero .flex.wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,31rem);max-width:100%;gap:clamp(.55rem,2vw,.8rem);align-items:stretch;}
#theme-root .hero .flex.wrap>.btn{display:inline-flex;align-items:center;justify-content:center;min-width:0;max-width:100%;width:100%;min-height:3.2rem;padding:.8rem clamp(.5rem,2vw,1rem);gap:clamp(.28rem,.9vw,.55rem);font-size:clamp(.74rem,2.55vw,.9rem);font-weight:700;line-height:1.18;text-align:center;white-space:nowrap;border-radius:999px;letter-spacing:-.02em;box-sizing:border-box;}
#theme-root .hero .flex.wrap>.btn>span{min-width:0;overflow-wrap:normal;}
#theme-root .hero .flex.wrap>.btn svg{width:clamp(.85rem,2.6vw,1rem);height:clamp(.85rem,2.6vw,1rem);flex:0 0 auto;}
#theme-root .hero .flex.wrap>.btn.alt{border-color:#ffffffb3;background:#0002;color:#fff;backdrop-filter:blur(5px);}
#theme-root .hero .flex.wrap>.btn:focus-visible{outline:2px solid white;outline-offset:3px;}
#theme-root .hero>.container{padding-block:clamp(2rem,6vw,3.2rem);}
#theme-root>header .header-static-brand{font-size:clamp(.7rem,2.6vw,.94rem);letter-spacing:clamp(.09em,.5vw,.16em);}

/* Portafolio: dos tarjetas como mínimo en móvil. */
#portafolio .container>.wrapper{width:100%;min-width:0;}
#portafolio [data-portfolio-categories]{display:grid;width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;}
#portafolio [data-portfolio-categories]>.cover{width:100%;min-width:0;min-height:0;aspect-ratio:4/5;overflow:hidden;}
#portafolio [data-portfolio-categories]>.cover>.caption{inset:auto .5rem .5rem;min-width:0;}
#theme-root>header>.container{min-height:3.75rem;}
#theme-root>header .header-static-brand{font-size:.93rem;letter-spacing:.13em;}
#theme-root .hero{min-height:clamp(26rem,94vw,30rem);}
#theme-root .hero .display{font-size:clamp(2.1rem,7.2vw,2.65rem);max-width:17ch;}
.site-marquee--large .site-marquee__items{font-size:1.55rem;}.hero{min-height:clamp(26rem,94vw,30rem);}
.hero>[data-hero-slide]>img{object-position:62% center;}
.hero>.container{padding:clamp(2.5rem,7vw,3.5rem) 0;}
.hero .display{max-width:10.5ch;font-size:clamp(2.2rem,10vw,3.1rem);}
.hero p{max-width:28rem;}
.hero .flex.wrap{display:grid;grid-template-columns:1fr 1fr;width:min(100%,22rem);}
.modal>.card{width:100%;min-height:100svh;max-height:none;border-radius:0;}
.modal>.card>header .btn{display:none;}
:root{--site-header-height:3.75rem;}html[data-immersive-route="true"] #theme-root>[data-service-modals][data-immersive-host="true"] .service-pane{grid-template-columns:minmax(0,1fr);grid-template-rows:auto
 ;}
html[data-immersive-route="true"] #theme-root>[data-service-modals][data-immersive-host="true"] .service-pane>.stack:first-child,
 html[data-immersive-route="true"] #theme-root>[data-service-modals][data-immersive-host="true"] .service-pane>.stack:nth-child(2),
 html[data-immersive-route="true"] #theme-root>[data-service-modals][data-immersive-host="true"] .service-pane>[data-gallery]{grid-column:1;grid-row:auto;}.soy-cinema-map .soy-cta{grid-column:auto}#theme-root .hero .display{font-size:clamp(2.5rem,8vw,4rem)}.grid2{--cols:1}.grid3,.grid4,.grid5,.grid6{--cols:2}}
@media(max-width:28rem){
.grid2,.grid3,.grid4,.grid5,.grid6{--cols:1}
/* En HOME se mantienen dos tarjetas, incluso en móviles angostos. */
html[data-site-view="home"] #theme-root #contenido>.soy-cinema-map.grid3{--cols:2}
.soy-cinema-map>a,.soy-cinema-map .soy-cta{padding:.7rem;min-height:12rem}
.soy-cinema-map strong,.soy-cinema-map .soy-cta strong{font-size:clamp(1.15rem,5vw,1.4rem)}
.soy-cinema-map small{font-size:.72rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}
[data-focus-orbit]{animation:none;}
.site-marquee__track{animation:none;will-change:auto;}
#theme-root .btn,#theme-root>header a[data-public-link]{transition:none;}}


/* Selector de reacción: compacto, claro y adaptable a móvil. */
.reaction-picker{min-width:0;margin:0;padding:.7rem;border:1px solid #ffffff50;border-radius:.8rem;}
.reaction-picker legend{font-weight:700;padding:0 .3rem;}
.reaction-picker>.muted{margin:.35rem 0 .7rem;}
.reaction-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;}
.reaction-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:.35rem;min-width:0;padding:.75rem .35rem;border:1px solid #ffffff55;border-radius:.75rem;text-align:center;cursor:pointer;}
.reaction-option:has(input:checked){background:#ffffff1d;border:2px solid #fff;padding:calc(.75rem - 1px) calc(.35rem - 1px);}
.reaction-option:focus-within{outline:2px solid #fff;outline-offset:2px;}
.reaction-option input{position:absolute;width:1px;height:1px;opacity:0;}
.reaction-emoji{font-size:1.8rem;line-height:1.2;}
.reaction-option strong{font-size:.8rem;line-height:1.2;}
.reaction-option small{font-size:.82rem;font-weight:700;white-space:nowrap;}
@media(max-width:360px){.reaction-option strong{font-size:.68rem}.reaction-option small{font-size:.72rem}}
/* Sesiones: cortesías independientes del carrito, primeras en la galería. */
.soy-gifts,.soy-paid-intro{margin:1rem .4rem;padding:clamp(.8rem,2vw,1.3rem);border-radius:.8rem;background:#141414;color:#fff;}
.soy-gifts__intro,.soy-paid-intro{line-height:1.5;}
.soy-gifts__intro h3,.soy-paid-intro h3{font-size:clamp(1.15rem,2.5vw,1.6rem);margin:.25rem 0;}
.soy-gifts__intro p,.soy-paid-intro p{font-size:.85rem;opacity:.85;max-width:70ch;}
/* Presentación editorial: dos columnas en escritorio, una en móvil. */
.soy-paid-intro{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(1rem,2.4vw,2.6rem);align-items:start;}
.soy-paid-intro__headline{min-width:0;}
.soy-paid-intro__left-copy{display:grid;gap:.48rem;margin-top:clamp(.85rem,1.6vw,1.2rem);}
.soy-paid-intro__left-copy p{margin:0;max-width:64ch;}
.soy-paid-intro__message{min-width:0;margin:0;padding:0 0 0 clamp(.7rem,1.4vw,1.4rem);border:0;border-left:1px solid #ffffff24;display:grid;gap:.48rem;}
@media(max-width:52rem){.soy-paid-intro{grid-template-columns:minmax(0,1fr);gap:.6rem}.soy-paid-intro__message{margin-top:.35rem;padding:.85rem 0 0;border-left:0;border-top:1px solid #ffffff24;}}
.soy-paid-intro__message p{margin:0;max-width:72ch;}
.soy-paid-intro__message strong{font-weight:700;opacity:1;}

.soy-photo-delivery-note{font-size:.82rem;line-height:1.55;background:#ffffff0e;padding:.8rem .9rem;border:1px solid #ffffff22;border-radius:.75rem;}
.soy-gifts__grid{margin-top:1rem;}
.soy-gift-tile{position:relative;min-width:0;flex:1 1 calc((100% - 5 * var(--grid-gap,var(--gap)))/6);aspect-ratio:3/4;border-radius:.4rem;overflow:hidden;background:#000;}
.soy-gift-tile [data-gallery-item]{display:block;position:absolute;inset:0;width:100%;height:100%;background:#000;}
.soy-gift-tile [data-gallery-item] img{width:100%;height:100%;object-fit:cover;}
.soy-gift-tile__download{position:absolute;right:.4rem;bottom:.4rem;z-index:2;padding:.4rem .55rem;border-radius:2rem;background:#fff;color:#111;font-size:.7rem;font-weight:700;box-shadow:0 2px 7px #0009;}
.soy-gifts [data-gallery-item]::before{content:'CORTESÍA';position:absolute;top:.4rem;left:.4rem;z-index:1;background:#000a;color:white;padding:.2rem .45rem;font-size:.65rem;border-radius:.3rem;}
#foto[data-soy-gift-viewer='true'] [data-viewer-main], #foto[data-soy-gift-viewer='false'] [data-viewer-main]{object-fit:contain;}
/* La marca del visor cubre únicamente la imagen visible, sin invadir las bandas negras. */
#foto [data-viewer-watermark]{display:none;position:absolute;z-index:2;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22112%22%20viewBox%3D%220%200%20180%20112%22%3E%3Cg%20transform%3D%22rotate%28-25%2090%2056%29%22%3E%3Ctext%20x%3D%2290%22%20y%3D%2259%22%20font-family%3D%22Arial%2Csans-serif%22%20font-weight%3D%22700%22%20font-size%3D%2215%22%20letter-spacing%3D%221.2%22%20text-anchor%3D%22middle%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.46%22%20stroke%3D%22%23111111%22%20stroke-opacity%3D%220.3%22%20stroke-width%3D%221.7%22%20paint-order%3D%22stroke%22%3EVISTA%20PREVIA%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-position:center;background-size:260px 165px;background-repeat:repeat;}
#foto[data-soy-paid-viewer='true'] [data-viewer-watermark]{display:block;}
@media(max-width:52rem){#foto [data-viewer-watermark]{background-size:175px 110px;}}
@media(max-width:52rem){.soy-gift-tile{flex:0 0 calc((100% - var(--grid-gap,var(--gap)))/2);max-width:calc((100% - var(--grid-gap,var(--gap)))/2)}}

/* v33 · Edición a petición en fotos gratuitas y de pago, sin alterar compras. */
#galeria .soy-edit-tile{position:relative;min-width:0;}
#galeria .soy-edit-tile>[data-gallery-item]{display:block;position:absolute;inset:0;width:100%;height:100%;}
#galeria .soy-edit-tile>[data-gallery-item] img{width:100%;height:100%;object-fit:cover;}
.soy-edit-payment-note{padding:.7rem .9rem;border:1px solid #15944766;border-radius:.7rem;background:#102219;color:#ddffe8;font-size:.88rem;}
#galeria .soy-photo-edit-brush{position:absolute;left:.45rem;bottom:.45rem;z-index:3;display:grid;place-items:center;min-width:2.4rem;min-height:2.4rem;padding:.35rem .55rem;border:1px solid #fff6;border-radius:2rem;background:#fff;color:#159447;font-size:1.2rem;line-height:1;cursor:pointer;box-shadow:0 2px 10px #0009;touch-action:manipulation;}
#galeria .soy-photo-edit-brush:focus-visible,#foto [data-viewer-edit]:focus-visible{outline:2px solid #fff;outline-offset:3px;}
#galeria .soy-photo-edit-brush:hover{background:#e9f8ef;}
#galeria .soy-photo-edit-brush[aria-pressed=true],#foto [data-viewer-edit][aria-pressed=true]{background:#159447;color:#fff;border-color:#a8efc0;}
#galeria .soy-photo-edit-brush[aria-pressed=true] .i-brush,#foto [data-viewer-edit][aria-pressed=true] .i-brush{color:#fff;}
#galeria .soy-photo-edit-brush .i-brush,#foto [data-viewer-edit] .i-brush{display:block;width:24px;height:24px;flex:0 0 24px;color:#159447;}
#foto [data-viewer-edit]:hover{background:#e9f8ef;}
#galeria .soy-gift-tile>.soy-photo-edit-brush{bottom:.45rem;left:.45rem;}
#foto [data-viewer-edit]{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;min-height:2.7rem;padding:.45rem .8rem;border:1px solid #fff8;border-radius:2rem;background:#fff;color:#159447;font-weight:700;font-size:.8rem;cursor:pointer;}
#foto [data-viewer-edit][hidden]{display:none!important;}
@media(max-width:650px){.soy-edit-payment-note{padding:.7rem .9rem;border:1px solid #15944766;border-radius:.7rem;background:#102219;color:#ddffe8;font-size:.88rem;}
#galeria .soy-photo-edit-brush{min-width:2.6rem;min-height:2.6rem;}}

/* v32 · Visor de pagos: cabecera y acciones fijas; solamente el contenido central desliza. */
#pago>.card{display:flex;flex-direction:column;min-height:0;overflow:hidden;max-height:min(92dvh,92svh);}
#pago>.card>header{position:relative;flex:0 0 auto;z-index:3;background:#000;}
#pago .soy-payment-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;}
#pago .soy-payment-footer{flex:0 0 auto;display:flex;flex-wrap:wrap;gap:.55rem;padding:.75rem 1rem calc(.75rem + env(safe-area-inset-bottom,0px));background:#000;border-top:1px solid #fff3;position:relative;z-index:3;}
#pago .soy-payment-footer>.btn{flex:1 1 0;min-width:0;min-height:3.1rem;}
#pago .soy-payment-footer .sjh-pse-payment{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;}
#pago .soy-payment-footer .sjh-pse-shield{color:#16a34a;stroke:#16a34a;flex:0 0 24px;width:24px;height:24px;}
#pago .soy-payment-footer .sjh-pse-payment[data-pse='false'] .sjh-pse-shield{display:none;}
#pago .soy-payment-footer>.btn[hidden]{display:none!important;}
#pago .soy-payment-footer>[data-payment-whatsapp-order]{flex:1 1 100%;min-width:100%;}
#pago:not([data-payment-state="form"]) .soy-payment-footer{display:none;}
#galeria .soy-gallery-date-filter{display:inline-flex;align-items:center;gap:.5rem;margin:.55rem 0 0;flex-wrap:wrap;font-size:.78rem;}
#galeria .soy-gallery-date-filter[hidden]{display:none!important;}
#galeria .soy-gallery-date-filter span{font-weight:600;color:#fff;}
#galeria .soy-gallery-date-filter select{width:auto;max-width:100%;min-width:11rem;min-height:2.55rem;background:#fff!important;color:#111!important;border:1px solid #dedede;border-radius:.65rem;padding:.55rem 2rem .55rem .8rem;font:inherit;font-weight:600;color-scheme:light;}
#galeria .soy-gallery-date-filter select:focus-visible{outline:2px solid #fff;outline-offset:3px;}
#galeria [data-gallery-item][hidden],#galeria .soy-gift-tile[hidden]{display:none!important;}
@media(max-width:640px){#pago>.card{max-height:100dvh;height:100dvh;width:100vw;max-width:100vw;border-radius:0;}#pago .soy-payment-body{padding-bottom:1rem;}#galeria .soy-gallery-date-filter{font-size:.7rem;}#galeria .soy-gallery-date-filter select{min-width:9rem;}}
/* v3.6.170 · Imagen o video: selección solo para pago, descarga directa si es gratis. */
#galeria .sjh-video-tile{position:relative;min-width:0;aspect-ratio:3/4;overflow:hidden;border-radius:.4rem;background:#000;}
#galeria .sjh-video-tile>.sjh-gallery-video{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;}
#galeria .sjh-video-tile .sjh-video-select{position:absolute;right:.45rem;top:.45rem;z-index:3;display:grid;place-items:center;min-width:2rem;min-height:2rem;padding:.2rem;border:1px solid #fff;border-radius:.35rem;background:#000b;color:#fff;cursor:pointer;}
#galeria .sjh-video-tile .sjh-video-select[aria-pressed=true]{background:#fff;color:#111;}
#galeria .sjh-video-tile[data-selected=true]{outline:2px solid #fff;outline-offset:-2px;}
#galeria .sjh-video-tile .soy-gift-tile__download{z-index:3;}
#galeria .soy-gift-tile__download,#foto .sjh-viewer-download{display:grid;place-items:center;width:2.55rem;height:2.55rem;padding:.35rem;border-radius:50%;background:#fff;color:#111;box-shadow:0 2px 8px #0009;}
#galeria .soy-gift-tile__download svg,#foto .sjh-viewer-download svg{width:1.3rem;height:1.3rem;}
#foto .sjh-viewer-download{position:relative;z-index:3;flex:none;}
#foto .sjh-viewer-download[hidden]{display:none!important;}
#galeria .sjh-video-tile[hidden]{display:none!important;}
