/* Capa independiente: no cambia el menú, el video ni los estilos aprobados. */
html.ib-opening-active{overflow:hidden;overscroll-behavior:none}
#ib-opening038{
 --opening-ink:#702c3b;--opening-rose:#a74958;--opening-paper:#fcf6ee;
 position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;
 margin:0;padding:0;border:0;border-radius:0;overflow:hidden;color:var(--opening-ink);
 background:transparent;opacity:1;isolation:isolate;
 font-family:Montserrat,Arial,sans-serif;text-align:center;box-shadow:none;
}
#ib-opening038::before{content:'';position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse at 50% 40%,rgba(252,246,238,.94) 0%,rgba(252,246,238,.79) 38%,rgba(252,246,238,.46) 80%);opacity:1;transition:opacity .65s ease .25s;pointer-events:none}
#ib-opening038::backdrop{background:rgba(42,15,24,.24);backdrop-filter:blur(4px);transition:background .8s ease,backdrop-filter .8s ease}
#ib-opening038 .ib-opening-inner{position:absolute;inset:0;min-height:440px;overflow:hidden}
#ib-opening038 .ib-opening-copy{position:absolute;z-index:3;top:clamp(65px,11.5vh,140px);left:50%;transform:translateX(-50%);width:min(90%,700px);pointer-events:none}
#ib-opening038 .ib-opening-kicker{display:inline-flex;align-items:center;gap:12px;margin:0 0 17px;font-size:10px;line-height:1.5;letter-spacing:2.8px;font-weight:600;color:#916d4e}
#ib-opening038 .ib-opening-kicker::before,#ib-opening038 .ib-opening-kicker::after{content:'';width:30px;height:1px;background:#b99265;opacity:.65}
#ib-opening038 h2{margin:0;font:400 clamp(35px,3.6vw,56px)/1.14 'Playfair Display',Georgia,serif;letter-spacing:-1.8px;color:var(--opening-ink)}
#ib-opening038 h2 em{font-weight:400;color:var(--opening-rose)}
#ib-opening038 .ib-opening-copy>p:last-child{margin:18px 0 0;color:#78625f;font-size:13px;line-height:1.7;font-weight:400}
#ib-opening038 .ib-opening-stage{position:absolute;z-index:3;left:0;top:52%;width:100%;height:210px;transform:translateY(-50%);perspective:1000px}
#ib-opening038 .ib-ribbon-half,#ib-opening038 .ib-ribbon-whole{position:absolute;inset:0;filter:drop-shadow(0 15px 12px rgba(64,13,30,.18));will-change:transform,opacity;pointer-events:none;transform:translateZ(0)}
#ib-opening038 .ib-ribbon-half{visibility:hidden}
#ib-opening038 .ib-ribbon-half img,#ib-opening038 .ib-ribbon-whole img{display:block!important;width:100%;height:100%;max-width:none;object-fit:fill;user-select:none;-webkit-user-drag:none}
#ib-opening038 .ib-ribbon-fallback::before{content:'';position:absolute;inset:23% 0 28%;background:linear-gradient(175deg,#c27282 0%,#a74958 10%,#7b3344 34%,#b45a6a 48%,#963e51 76%,#b26070 93%,#6e2b3d 100%);border-block:2px solid #c17a87}
#ib-opening038.is-separated .ib-ribbon-whole{visibility:hidden}
#ib-opening038.is-separated .ib-ribbon-half{visibility:visible}
#ib-opening038 .ib-ribbon-left{clip-path:polygon(0 0,50.8% 0,49.2% 100%,0 100%);transform-origin:0% 45%}
#ib-opening038 .ib-ribbon-right{clip-path:polygon(50.8% 0,100% 0,100% 100%,49.2% 100%);transform-origin:100% 45%}
#ib-opening038 .ib-ribbon-sheen{position:absolute;inset:29% 0 26%;background:linear-gradient(105deg,transparent 32%,rgba(255,230,221,.09) 47%,transparent 58%);background-size:220% 100%;mix-blend-mode:screen;pointer-events:none;animation:ib-satin-sheen 5s ease-in-out infinite}
#ib-opening038 .ib-ribbon-hit{position:absolute;inset:24% 0 24%;z-index:5;width:100%;margin:0;border:0;border-radius:0;padding:0;background:transparent;color:transparent;box-shadow:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#ib-opening038 .ib-ribbon-hit:focus-visible{outline:2px solid #c9a365;outline-offset:8px}
#ib-opening038 .ib-ribbon-hit:disabled{cursor:default}
#ib-opening038 .ib-scissors{position:absolute;z-index:4;left:50%;top:90%;width:158px;height:250px;transform-origin:50% 45%;transform:translate(-50%,-50%) rotate(-18deg);filter:drop-shadow(0 9px 5px rgba(45,20,12,.24));pointer-events:none;will-change:transform,opacity}
#ib-opening038 .ib-scissors svg{display:block;width:100%;height:100%;overflow:visible}
#ib-opening038 .ib-scissor-arm-a{transform:rotate(16deg);transform-origin:120px 170px;animation:ib-scissors-breathe-a 3.8s ease-in-out infinite}
#ib-opening038 .ib-scissor-arm-b{transform:rotate(-16deg);transform-origin:120px 170px;animation:ib-scissors-breathe-b 3.8s ease-in-out infinite}
#ib-opening038 .ib-scissors:has(.ib-scissors-photo040){top:80%;height:237px;width:158px}
#ib-opening038 .ib-scissors-photo040 .ib-scissor-arm-a,#ib-opening038 .ib-scissors-photo040 .ib-scissor-arm-b{transform:rotate(0);transform-origin:506px 759px}
#ib-opening038 .ib-scissors-photo040 .ib-scissor-arm-a{animation:ib-photo-scissors-breathe-a040 3.8s ease-in-out infinite}
#ib-opening038 .ib-scissors-photo040 .ib-scissor-arm-b{animation:ib-photo-scissors-breathe-b040 3.8s ease-in-out infinite}
#ib-opening038 .ib-opening-actions{position:absolute;z-index:6;top:calc(52% + 196px);left:50%;transform:translateX(-50%);width:min(90%,460px)}
#ib-opening038 .ib-cut-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-width:240px;min-height:54px;padding:16px 28px;margin:0;border:1px solid rgba(112,44,59,.14);border-radius:50px;background:linear-gradient(130deg,#b35363,#913a4c);color:#fff9f3;font-family:inherit;font-size:13px;font-weight:600;letter-spacing:.3px;box-shadow:0 8px 24px rgba(112,44,59,.18),inset 0 1px 0 rgba(255,241,231,.22);transition:transform .2s,box-shadow .2s;cursor:pointer;touch-action:manipulation}
#ib-opening038 .ib-cut-button:hover{transform:translateY(-2px);box-shadow:0 11px 28px rgba(112,44,59,.25)}
#ib-opening038 .ib-cut-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#ib-opening038 .ib-cut-button:focus-visible,#ib-opening038 .ib-opening-skip:focus-visible,#ib-opening038 .ib-opening-sound:focus-visible{outline:3px solid #b88b52;outline-offset:5px}
#ib-opening038 .ib-cut-button:disabled{cursor:default}
#ib-opening038 .ib-opening-hint{margin:13px 0 0;font-size:10px;line-height:1.6;color:#8b736c;font-weight:400}
#ib-opening038 .ib-opening-footer{position:absolute;z-index:7;left:0;right:0;bottom:max(27px,env(safe-area-inset-bottom));display:flex;justify-content:center;align-items:center;gap:22px;padding:0 20px;transition:opacity .2s}
#ib-opening038 .ib-opening-skip,#ib-opening038 .ib-opening-sound{display:inline-flex;align-items:center;gap:8px;padding:9px 0;margin:0;border:0;background:transparent;color:#71544e;font:400 10px/1.4 Montserrat,Arial,sans-serif;box-shadow:none;border-radius:0;cursor:pointer;min-height:40px}
#ib-opening038 .ib-opening-skip{text-decoration:underline;text-underline-offset:4px;text-decoration-color:#c6aaa0}
#ib-opening038 .ib-opening-sound svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
#ib-opening038 .ib-opening-sound[aria-pressed=true] .ib-sound-waves{display:none}
#ib-opening038 .ib-sound-off{display:none}
#ib-opening038 .ib-opening-sound[aria-pressed=true] .ib-sound-off{display:block}
#ib-opening038 .ib-opening-status{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
#ib-opening038.is-cutting .ib-ribbon-sheen{animation:none;opacity:0}
#ib-opening038.is-cutting .ib-scissors{animation:ib-scissors-cut 1.5s cubic-bezier(.3,0,.2,1) forwards}
#ib-opening038.is-cutting .ib-scissor-arm-a{animation:ib-blade-cut-a .98s ease-in-out forwards}
#ib-opening038.is-cutting .ib-scissor-arm-b{animation:ib-blade-cut-b .98s ease-in-out forwards}
#ib-opening038.is-cutting .ib-scissors-photo040 .ib-scissor-arm-a{animation:ib-photo-blade-cut-a040 .98s ease-in-out forwards}
#ib-opening038.is-cutting .ib-scissors-photo040 .ib-scissor-arm-b{animation:ib-photo-blade-cut-b040 .98s ease-in-out forwards}
#ib-opening038.is-cutting .ib-ribbon-left{animation:ib-ribbon-fall-left 1.7s .76s cubic-bezier(.24,.15,.3,1) forwards}
#ib-opening038.is-cutting .ib-ribbon-right{animation:ib-ribbon-fall-right 1.7s .76s cubic-bezier(.24,.15,.3,1) forwards}
#ib-opening038.is-cutting .ib-opening-copy{animation:ib-opening-copy-out .8s .8s ease both}
#ib-opening038.is-cutting .ib-opening-footer,#ib-opening038.is-cutting .ib-opening-hint{opacity:0;pointer-events:none}
#ib-opening038.is-cutting .ib-cut-button{opacity:0;pointer-events:none;transition:opacity .25s}
#ib-opening038.is-revealing::before{opacity:0}
#ib-opening038.is-revealing::backdrop{background:transparent;backdrop-filter:blur(0)}
.ib-opening-confetti038{position:fixed;inset:0;width:100%;height:100%;height:100dvh;z-index:2147483000;pointer-events:none!important;contain:strict;display:block}
.ib-opening-balloons040{position:fixed;inset:0;width:100vw;height:100%;height:100dvh;z-index:2147482999;pointer-events:none!important;overflow:hidden;contain:layout paint;opacity:1;transition:opacity .35s}
#ib-opening038 .ib-opening-balloons040{z-index:2}
.ib-opening-balloon040{position:absolute;left:var(--balloon-x);bottom:var(--balloon-bottom);width:calc(clamp(108px,11.7vw,168px)*var(--balloon-scale));transform:translateX(-50%);transform-origin:50% 67%;will-change:transform}
.ib-balloon-sway040{width:100%;transform-origin:50% 77%;animation:ib-balloon-sway040 var(--balloon-sway) var(--balloon-phase) ease-in-out infinite}
.ib-balloon-sway040>img{display:block!important;width:100%;height:auto;aspect-ratio:3/4;max-width:none;object-fit:contain;filter:drop-shadow(3px 7px 5px rgba(91,50,37,.09));user-select:none;-webkit-user-drag:none}
.ib-balloon-string040{display:block;width:47%;height:100px;overflow:visible;margin:-4.5% auto 0;transform-origin:50% 0;animation:ib-balloon-string040 3s var(--balloon-phase) ease-in-out infinite}
.ib-balloon-string040 path{stroke:#ac8761;stroke-width:1.1;vector-effect:non-scaling-stroke;opacity:.65}
.ib-opening-balloons040.is-gently-hidden{opacity:0}
@keyframes ib-balloon-sway040{0%,100%{transform:translateY(0) rotate(var(--balloon-tilt))}50%{transform:translateY(-11px) rotate(calc(var(--balloon-tilt) + 5deg))}}
@keyframes ib-balloon-string040{0%,100%{transform:skewX(-7deg) rotate(-4deg)}50%{transform:skewX(8deg) rotate(5deg)}}
@keyframes ib-balloon-rise-fallback040{to{transform:translate(-15vw,-160vh) rotate(7deg)}}
@keyframes ib-satin-sheen{0%,100%{background-position:0 0;opacity:.1}50%{background-position:100% 0;opacity:.6}}
@keyframes ib-scissors-breathe-a{0%,100%{transform:rotate(16deg)}50%{transform:rotate(21deg)}}
@keyframes ib-photo-scissors-breathe-a040{0%,100%{transform:rotate(0)}50%{transform:rotate(2deg)}}
@keyframes ib-photo-scissors-breathe-b040{0%,100%{transform:rotate(0)}50%{transform:rotate(-2deg)}}
@keyframes ib-photo-blade-cut-a040{0%,24%{transform:rotate(2deg)}42%{transform:rotate(-15deg)}58%{transform:rotate(-3deg)}78%,100%{transform:rotate(-18deg)}}
@keyframes ib-photo-blade-cut-b040{0%,24%{transform:rotate(-2deg)}42%{transform:rotate(15deg)}58%{transform:rotate(3deg)}78%,100%{transform:rotate(18deg)}}
@keyframes ib-scissors-breathe-b{0%,100%{transform:rotate(-16deg)}50%{transform:rotate(-21deg)}}
@keyframes ib-blade-cut-a{0%,24%{transform:rotate(20deg)}42%{transform:rotate(3deg)}58%{transform:rotate(15deg)}78%,100%{transform:rotate(0deg)}}
@keyframes ib-blade-cut-b{0%,24%{transform:rotate(-20deg)}42%{transform:rotate(-3deg)}58%{transform:rotate(-15deg)}78%,100%{transform:rotate(0deg)}}
@keyframes ib-scissors-cut{0%{transform:translate(-50%,-50%) rotate(-18deg)}35%{transform:translate(-50%,-73%) rotate(-10deg)}68%{transform:translate(-50%,-100%) rotate(-4deg)}82%{opacity:1;transform:translate(-50%,-100%) rotate(-4deg)}100%{opacity:0;transform:translate(-50%,-95%) rotate(3deg)}}
@keyframes ib-ribbon-fall-left{0%{transform:translate(0,0) rotate(0) skewY(0);opacity:1}13%{transform:translate(-1%,2%) rotate(2deg) skewY(1deg)}30%{transform:translate(-3%,10%) rotate(8deg) skewY(3deg)}55%{transform:translate(-8%,34%) rotate(16deg) rotateY(-12deg) skewY(5deg);opacity:1}100%{transform:translate(-58%,115%) rotate(25deg) rotateY(-15deg) skewY(8deg);opacity:0}}
@keyframes ib-ribbon-fall-right{0%{transform:translate(0,0) rotate(0) skewY(0);opacity:1}13%{transform:translate(1%,-2%) rotate(-2deg) skewY(-1deg)}30%{transform:translate(4%,8%) rotate(-7deg) skewY(-3deg)}55%{transform:translate(10%,30%) rotate(-14deg) rotateY(12deg) skewY(-5deg);opacity:1}100%{transform:translate(58%,125%) rotate(-23deg) rotateY(15deg) skewY(-7deg);opacity:0}}
@keyframes ib-opening-copy-out{to{opacity:0;translate:0 -10px}}
@media(max-width:600px){
 .ib-opening-balloon040{left:var(--balloon-mobile);width:calc(clamp(61px,18vw,88px)*var(--balloon-scale))}
 .ib-balloon-string040{height:76px}
 #ib-opening038 .ib-opening-copy{top:clamp(90px,18vh,150px);width:92%}
 #ib-opening038 .ib-opening-kicker{font-size:8px;letter-spacing:2.2px;gap:9px;margin-bottom:18px}
 #ib-opening038 .ib-opening-kicker::before,#ib-opening038 .ib-opening-kicker::after{width:19px}
 #ib-opening038 h2{font-size:clamp(31px,8.9vw,43px);line-height:1.17;letter-spacing:-1.2px}
 #ib-opening038 .ib-opening-copy>p:last-child{font-size:11px;margin-top:16px}
 #ib-opening038 .ib-opening-stage{top:52%;height:150px}
 #ib-opening038 .ib-scissors{width:133px;height:211px;top:90%}
 #ib-opening038 .ib-scissors:has(.ib-scissors-photo040){width:127px;height:190px;top:80%}
 #ib-opening038 .ib-ribbon-half,#ib-opening038 .ib-ribbon-whole{filter:drop-shadow(0 9px 8px rgba(64,13,30,.22))}
 #ib-opening038 .ib-opening-actions{top:calc(52% + 164px)}
 #ib-opening038 .ib-cut-button{min-width:225px;min-height:54px;font-size:12px}
 #ib-opening038 .ib-opening-hint{font-size:9px}
 #ib-opening038 .ib-opening-footer{gap:20px;bottom:max(20px,env(safe-area-inset-bottom))}
}
@media(max-height:620px){
 .ib-opening-balloon040{width:calc(76px*var(--balloon-scale));bottom:calc(var(--balloon-bottom) - 12px)}
 .ib-balloon-string040{height:68px}
 #ib-opening038 .ib-opening-copy{top:28px}
 #ib-opening038 .ib-opening-kicker{margin-bottom:9px}
 #ib-opening038 h2{font-size:clamp(29px,4.5vw,38px)}
 #ib-opening038 .ib-opening-copy>p:last-child{margin-top:10px}
 #ib-opening038 .ib-opening-stage{top:50%;height:140px}
 #ib-opening038 .ib-scissors{height:185px;width:117px}
 #ib-opening038 .ib-scissors:has(.ib-scissors-photo040){height:165px;width:110px;top:72%}
 #ib-opening038 .ib-opening-actions{top:calc(50% + 132px)}
 #ib-opening038 .ib-cut-button{min-height:46px;padding:11px 24px}
 #ib-opening038 .ib-opening-hint{margin-top:7px}
 #ib-opening038 .ib-opening-footer{bottom:8px}
}
@media(max-height:430px){
 #ib-opening038 .ib-opening-inner{min-height:300px}
 #ib-opening038 .ib-opening-copy{top:22px}
 #ib-opening038 .ib-opening-kicker{display:none}
 #ib-opening038 h2{font-size:26px}
 #ib-opening038 h2 br{display:none}
 #ib-opening038 .ib-opening-copy>p:last-child{display:none}
 #ib-opening038 .ib-opening-stage{top:43%;height:118px}
 #ib-opening038 .ib-scissors{height:140px;width:90px}
 #ib-opening038 .ib-scissors:has(.ib-scissors-photo040){height:135px;width:90px;top:70%}
 #ib-opening038 .ib-opening-actions{top:calc(43% + 105px)}
 #ib-opening038 .ib-opening-hint{display:none}
}
@media(max-width:600px) and (max-height:620px){
 .ib-opening-balloon040{bottom:calc(var(--balloon-bottom) + 50px)}
 .ib-opening-balloon040:nth-child(2){left:1%}
 .ib-opening-balloon040:nth-child(3){left:3%}
 .ib-opening-balloon040:nth-child(4){left:97%}
 .ib-opening-balloon040:nth-child(5){left:99%}
}
@media(prefers-reduced-motion:reduce){
 .ib-balloon-sway040,.ib-balloon-string040{animation:none}
 #ib-opening038 .ib-scissors-photo040 .ib-scissor-arm-a,#ib-opening038 .ib-scissors-photo040 .ib-scissor-arm-b{animation:none}
 #ib-opening038 .ib-ribbon-sheen,#ib-opening038 .ib-scissor-arm-a,#ib-opening038 .ib-scissor-arm-b{animation:none}
 #ib-opening038.is-cutting .ib-ribbon-left,#ib-opening038.is-cutting .ib-ribbon-right{animation:none;opacity:0;transition:opacity .2s}
 #ib-opening038.is-cutting .ib-scissors{animation:none;opacity:0;transition:opacity .2s}
 #ib-opening038.is-cutting .ib-opening-copy{animation:none;opacity:0}
 #ib-opening038::before{transition:opacity .2s}
}
@media print{#ib-opening038,.ib-opening-confetti038,.ib-opening-balloons040{display:none!important}}
