/* ===========================================================
   Safari 访问中转与拦截页
   /              中转到 /home
   /home          真站，仅 Safari 放行；内置浏览器显示引导
   =========================================================== */
html.gate-on,html.gate-on body{height:100%;overflow:hidden}
html.gate-on .private-site{display:none!important}
.gate{display:none}
html.gate-on .gate{display:block;position:fixed;inset:0;z-index:10000;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 20px;background-color:#0b0d10;background-image:linear-gradient(135deg,rgba(214,179,106,.10),transparent 55%),linear-gradient(315deg,rgba(214,179,106,.06),transparent 48%);color:#f5f7fa;font-family:Arial,"Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}
.gate *{box-sizing:border-box}
.gate-card{position:relative;max-width:400px;margin:0 auto;padding:15vh 0 40px;text-align:center;animation:gateRise .55s cubic-bezier(.23,1,.32,1) both}
.gate-mark{display:inline-flex;align-items:center;justify-content:center;width:82px;height:82px;margin:0 auto 25px;border:1px solid rgba(214,179,106,.45);border-radius:22px;background:linear-gradient(145deg,#17140d,#11151a);box-shadow:0 12px 34px rgba(0,0,0,.35);font-size:26px;font-weight:800;letter-spacing:.06em;color:#f5f7fa}
.gate-mark span{color:#d6b36a;margin-left:2px}
.gate-title{margin:0;color:#f5f7fa;font-size:27px;font-weight:700;line-height:1.3}
.gate-text{margin:12px 0 0;color:#a9b1bc;font-size:15px;line-height:1.7}
.gate-steps{margin:26px 0 0;padding:6px 18px;list-style:none;text-align:left;background:#14181d;border:1px solid #252b33;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.gate-steps li{position:relative;padding:14px 0 14px 40px;font-size:15px;line-height:1.5;color:#e6e9ec;border-bottom:1px solid #252b33}.gate-steps li:last-child{border-bottom:0}.gate-steps li i{position:absolute;left:0;top:50%;width:26px;height:26px;margin-top:-13px;border-radius:50%;background:#2b2618;color:#d6b36a;font-size:13px;font-style:normal;font-weight:700;line-height:26px;text-align:center}.gate-steps b{color:#d6b36a;font-weight:700}
.gate-btn{display:block;width:100%;border:0;border-radius:10px;font-family:inherit;font-size:16px;font-weight:700;cursor:pointer;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;transition:transform .16s ease,box-shadow .3s ease}.gate-btn:active{transform:scale(.97)}
.gate-btn--primary{height:52px;margin-top:22px;background:#d6b36a;color:#111;box-shadow:0 5px 16px rgba(214,179,106,.28)}
.gate-safari{display:inline-block;width:20px;height:20px;margin-right:8px;vertical-align:-4px}
.gate-link{position:relative;height:46px;margin-top:14px;padding-right:104px;border:1px solid #30363e;border-radius:10px;background:#0d1014}.gate-url{display:block;width:100%;height:44px;padding:0 0 0 14px;border:0;border-radius:10px;background:transparent;color:#a9b1bc;font:14px Arial,"Microsoft YaHei",sans-serif;outline:0;text-overflow:ellipsis;-webkit-appearance:none;-webkit-user-select:text;user-select:text}.gate-btn--ghost{position:absolute;top:5px;right:5px;width:94px;height:34px;border-radius:8px;background:#252114;color:#d6b36a;font-size:14px}.gate-btn--ghost.is-done{background:#2b3a2b;color:#8fd18f}.gate-foot{margin:12px 0 0;color:#7f8994;font-size:13px;line-height:1.5}
.gate-pointer{display:none}.gate-pointer-on .gate-pointer{display:block;position:absolute;top:6px;right:14px;width:120px;color:#d6b36a;text-align:right;animation:gateNudge 1.6s ease-in-out infinite}.gate-pointer svg{display:block;width:64px;height:64px;margin-left:auto;fill:none;stroke:#d6b36a;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}.gate-pointer span{display:block;margin:2px 46px 0 0;font-size:14px;font-weight:700}
@keyframes gateRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes gateNudge{0%,100%{transform:translate(0,0)}50%{transform:translate(5px,-5px)}}
@media (min-width:769px){.gate-btn--primary:hover{box-shadow:0 8px 22px rgba(214,179,106,.40)}}
@media (max-width:520px){.gate-card{padding-top:12vh}.gate-title{font-size:24px}}
@media (prefers-reduced-motion:reduce){.gate-card,.gate-pointer-on .gate-pointer{animation:none}}
