#mcGate{position:fixed;inset:0;z-index:99999;background:#100b07;color:#fff0cd;display:grid;place-items:center;overflow:auto;overscroll-behavior:contain;font:16px/1.7 system-ui,sans-serif;padding:24px 18px;box-sizing:border-box;isolation:isolate}#mcGate[hidden]{display:none}#mcGate canvas,#mcGate .gate-rays{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}.gate-rays{background:repeating-conic-gradient(from 0deg at 50% 35%,#ffcc7020 0deg,transparent 9deg,transparent 28deg);animation:gateSpin 32s linear infinite;mask-image:radial-gradient(ellipse,#000,transparent 72%)}.gate-card{width:min(100%,440px);text-align:center;position:relative;padding:22px 14px;background:#160e08df;border:1px solid #b58a49;border-radius:18px;box-shadow:0 0 60px #c991392b;box-sizing:border-box}.gate-seal{width:110px;height:110px;margin:0 auto 16px;position:relative;display:grid;place-items:center;border:2px solid #e5bd72;border-radius:50%;box-shadow:0 0 35px #eab75b66,inset 0 0 25px #eab75b33}.gate-seal:before,.gate-seal:after{content:'';position:absolute;inset:-9px;border:2px dashed #d7a650;border-radius:50%;animation:gateSpin 12s linear infinite}.gate-seal:after{inset:8px;border:1px dotted #ffe6a4;animation-direction:reverse}.gate-weight{width:65px;height:9px;background:linear-gradient(#fff2b8,#a66b24);position:relative;box-shadow:0 0 20px #ffda82}.gate-weight:before,.gate-weight:after{content:'';position:absolute;width:17px;height:38px;top:-15px;border-radius:4px;background:linear-gradient(90deg,#9b641d,#ffe7a0,#c28a32);left:5px}.gate-weight:after{left:auto;right:5px}.gate-card h2{font-size:25px;color:#ffe0a0;margin:12px 0;line-height:1.4}.gate-card p{margin:10px 0;color:#f5e6ce}.gate-card small{color:#e5bf7c;letter-spacing:2px}.gate-card button{min-height:46px;margin:5px 0;border:1px solid #bd9858;background:#392818;color:#fff0cd;border-radius:8px;padding:10px 14px;font:inherit;cursor:pointer}.gate-card button[aria-pressed=true],.gate-card .gate-primary{background:#e6bf78;color:#211407;font-weight:700}.gate-card button:disabled{opacity:.45;cursor:default}.gate-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.gate-oath{display:flex;gap:10px;align-items:flex-start;text-align:left;padding:10px 6px;border-bottom:1px solid #765b36;font-size:15px}.gate-oath input{width:20px;height:20px;flex:none;accent-color:#e6bf78}.gate-skip{background:transparent!important;border:0!important;text-decoration:underline;font-size:14px!important}.gate-card .gate-primary{width:100%}.gate-enter{animation:gateIn .65s both}.gate-bless .gate-seal{animation:gatePulse .8s ease-in-out infinite alternate}.gate-bless .gate-rays{opacity:1;animation-duration:5s}.gate-close{animation:gateOut .75s both;pointer-events:none}@keyframes gateSpin{to{transform:rotate(360deg)}}@keyframes gateIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes gatePulse{to{box-shadow:0 0 95px 20px #ffd36b;transform:scale(1.1)}}@keyframes gateOut{to{opacity:0;transform:scale(1.05)}}@media(prefers-reduced-motion:reduce){#mcGate *,#mcGate *:before,#mcGate *:after{animation:none!important}}body.fx-off #mcGate *,body.fx-off #mcGate *:before,body.fx-off #mcGate *:after{animation:none!important}

/* Mobile touch isolation */
#mcGate{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:0;padding: max(18px,env(safe-area-inset-top)) 16px max(22px,env(safe-area-inset-bottom));touch-action:pan-y;overscroll-behavior:none}
#mcGate[hidden]{display:none}#mcGate .gate-card{flex:none;margin:auto 0;max-width:440px;width:100%;touch-action:pan-y}#mcGate .gate-seal,#mcGate .gate-seal *,#mcGate .gate-rays,#mcGate canvas{pointer-events:none}#mcGate button{touch-action:manipulation;position:relative;min-height:52px;max-width:100%;margin:0}#mcGate .gate-primary,#mcGate .gate-skip{display:block;width:100%;margin:14px 0 0}#mcGate .gate-skip{width:auto;margin:18px auto 0;padding:10px 18px}#mcGate .gate-oath{min-height:54px;align-items:center;touch-action:pan-y}#mcGate.gate-close{pointer-events:auto}#mcGate.gate-close .gate-card{pointer-events:none}#mcGate .gate-enter{animation-name:gateFade}@keyframes gateFade{from{opacity:0}to{opacity:1}}@media(max-height:650px){#mcGate .gate-seal{width:76px;height:76px;margin-bottom:10px}#mcGate .gate-card{padding:16px 12px}#mcGate .gate-card h2{font-size:22px}}

#mcGate h2[tabindex]:focus{outline:none;box-shadow:none}
