/* Only the new homepage sequence; no collection-page header rules are overridden. */
body.page-id-5713 [data-mtg-collection-flow]{width:100%;margin:0;isolation:isolate}
body.page-id-5713 [data-mtg-collection-flow] .mtc-stage{height:calc(100svh - var(--mtg-admin-space,0px));height:calc(100dvh - var(--mtg-admin-space,0px));min-height:0}
body.page-id-5713 [data-mtg-collection-flow] .mtc-title{pointer-events:auto;width:max-content;max-width:85%;bottom:19%}
body.page-id-5713 [data-mtg-collection-flow] .mtc-title a{color:inherit;text-decoration:none}
body.page-id-5713 [data-mtg-collection-flow] .mtc-title h2 a{display:inline-block}
body.page-id-5713 [data-mtg-collection-flow] .mtc-collection-link{display:inline-flex;align-items:center;min-height:44px;margin-top:15px;border:0;font:600 calc(11px + 2pt)/1.3 Rajdhani,Arial,sans-serif;letter-spacing:.13em}
body.page-id-5713 [data-mtg-collection-flow] .mtc-link-label{position:relative;display:inline-block;padding-bottom:7px}
body.page-id-5713 [data-mtg-collection-flow] .mtc-link-label::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(100deg,var(--mtc-tone) 0% 35%,#fff8dc 47%,#fff 50%,var(--mtc-tone) 63% 100%);background-size:240% 100%;background-position:140% 0;pointer-events:none}
body.page-id-5713 [data-mtg-collection-flow] .mtc-collection-link:hover{color:var(--mtc-tone)}
body.page-id-5713 [data-mtg-collection-flow] .mtc-collection-link+.mtc-collection-link{margin-left:24px}
body.page-id-5713 [data-mtg-collection-flow] .mtc-logo{bottom:22%;width:16%;max-width:310px}
.mtg-continue{position:absolute;z-index:5;bottom:max(28px,env(safe-area-inset-bottom));left:auto;right:5%;transform:none;display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 0;background:transparent;color:var(--mtc-paper);border:0;border-radius:0;box-shadow:none;cursor:pointer;font:600 clamp(9px,1.05vw,12px)/1.4 Rajdhani,Arial,sans-serif;letter-spacing:.12em;white-space:nowrap}
.mtg-continue:hover{opacity:.85}.mtg-continue:focus-visible{outline:2px solid #f4dda4;outline-offset:4px}
.mtg-continue{text-transform:uppercase;letter-spacing:.12em}
.mtc .mtg-continue:hover,.mtc .mtg-continue:focus{background:transparent;color:var(--mtc-paper);border:0;box-shadow:none}
html[data-mtg-flow-locked]{overflow:hidden!important;overscroll-behavior-y:none}
html[data-mtg-flow-locked] body.page-id-5713.mt20-gold-site{overflow:hidden!important;overscroll-behavior-y:none}
html body.page-id-5713:has([data-mtg-collection-flow]):not([data-mtg-after-collections="true"]) #mt-global-header #mt-nav{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
/* The native header has interactive descendants with their own pointer rules. */
html body.mt20-gold-site.page-id-5713:has([data-mtg-collection-flow]):not([data-mtg-after-collections="true"]) #mt-global-header{display:none!important}
body.page-id-5713:has([data-mtg-collection-flow]) .mtg-home-header-slot{height:0;border:0}
html body.mt20-gold-site.page-id-5713[data-mtg-after-collections="true"] #mt-global-header #mt-nav.mtg-categories[data-mtg-home]{top:var(--mtg-admin-top,0px)!important}
.mtg-oni-transition{--mtg-crossing:0;position:relative;height:clamp(88px,14svh,156px);overflow:hidden;isolation:isolate;display:flex;justify-content:center;align-items:center;background:linear-gradient(180deg,#08090a,#171715 52%,#050505);color:#cfb47a}
.mtg-oni-transition::before,.mtg-oni-transition::after{content:"";position:absolute;left:0;right:0;height:3px;background:linear-gradient(90deg,#211a10,#8f7746 24%,#e9d5a4 50%,#806737 76%,#17130d);box-shadow:0 2px 7px #000b;pointer-events:none}
.mtg-oni-transition::before{top:0}.mtg-oni-transition::after{bottom:0}
.mtg-oni-transition__spine{position:absolute;inset:-80% auto;width:1px;background:linear-gradient(transparent,#e4c78b,transparent);transform:translateY(calc((var(--mtg-crossing) - .5) * -80px));opacity:.5}
.mtg-oni-transition__label{position:relative;background:#10100f;padding:13px 25px;text-align:center;font:600 10px/1.4 Rajdhani,Arial,sans-serif;letter-spacing:.32em;transform:translateY(calc((1 - var(--mtg-crossing)) * 14px))}
body.page-id-5713 #oni-film{--mtg-oni-enter:0;height:calc(100svh - 56px - var(--mtg-admin-space,0px));scroll-margin-top:calc(56px + var(--mtg-admin-space,0px));outline:none}
body.page-id-5713 #oni-film>video{transform:translateY(calc((1 - var(--mtg-oni-enter)) * 34px)) scale(calc(1.025 - var(--mtg-oni-enter) * .025));transform-origin:50% 0}
@media(max-width:700px){
 body.page-id-5713 [data-mtg-collection-flow] .mtc-stage{height:calc(100svh - var(--mtg-admin-space,0px));height:calc(100dvh - var(--mtg-admin-space,0px));aspect-ratio:auto}
 body.page-id-5713 [data-mtg-collection-flow] .mtc-title{left:24px;bottom:max(112px,14svh);max-width:calc(100% - 48px);width:calc(100% - 48px)}
 body.page-id-5713 [data-mtg-collection-flow] .mtc-title h2{font-size:clamp(50px,16vw,72px);margin:9px 0}
 body.page-id-5713 [data-mtg-collection-flow] .mtc-title[data-category=ACCESSORIES] h2{font-size:clamp(42px,12.5vw,62px)}
 body.page-id-5713 [data-mtg-collection-flow] .mtc-title p{display:block;font-size:9px;line-height:1.5;max-width:100%;margin-bottom:4px}
 body.page-id-5713 [data-mtg-collection-flow] .mtc-collection-link{min-height:44px;margin-top:5px;font-size:12px;letter-spacing:.12em}
 body.page-id-5713 [data-mtg-collection-flow] .mtc-logo{display:none}
 .mtg-continue{right:24px;bottom:max(24px,env(safe-area-inset-bottom));max-width:calc(100% - 48px);padding:10px 0;min-height:44px;font-size:11px;white-space:normal;text-align:right}
 .mtg-oni-transition{height:88px}
}
/* Keep the complete Oni frame visible on desktop, including during its entrance. */
@media(min-width:701px){body.page-id-5713 #oni-film>video{object-fit:contain;transform:none}}
@media(max-height:500px) and (min-width:701px){body.page-id-5713 [data-mtg-collection-flow] .mtc-title h2{font-size:56px;margin:8px 0}.mtg-continue{bottom:16px}body.page-id-5713 [data-mtg-collection-flow] .mtc-logo{width:14%;bottom:28%}}
@media(prefers-reduced-motion:reduce){.mtg-oni-transition__spine,.mtg-oni-transition__label,body.page-id-5713 #oni-film>video{transform:none}}

/* Leave room for the fixed header without obscuring the slider category controls. */
body.page-id-5713 [data-mtg-collection-flow] .mtc-header{top:56px}
