:root { --zc-gold: #d8b96a; --zc-paper: #f3ead3; }
.zc-shell { position: fixed; z-index: 9990; inset: 0; pointer-events: none; color: var(--zc-paper); font-family: Verdana, Geneva, sans-serif; }
.zc-shell a, .zc-shell button { pointer-events: auto; }
.zc-home, .zc-project, .zc-status { position: absolute; text-shadow: 2px 2px 0 #000; }
.zc-home { top: 16px; left: 18px; color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .06em; text-decoration: none; }
.zc-home::before { content: "< "; color: var(--zc-gold); }
.zc-home:hover, .zc-home:focus-visible { color: var(--zc-gold); outline: none; }
.zc-project { top: 17px; right: 18px; color: rgba(255,255,255,.88); font-size: 11px; text-align: right; }
.zc-project strong, .zc-project small { display: block; }
.zc-project strong { color: var(--zc-gold); font-size: 12px; letter-spacing: .08em; }
.zc-project small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 9px; }
.zc-status { right: 18px; bottom: 12px; color: rgba(255,255,255,.66); font-size: 9px; letter-spacing: .08em; }
.zc-status::before { display: inline-block; width: 6px; height: 6px; margin-right: 6px; content: ""; background: #77dd77; border-radius: 50%; box-shadow: 0 0 8px rgba(119,221,119,.9); }
.zc-portal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; pointer-events: none; background: radial-gradient(circle at 50% 50%, rgba(163,54,255,.5), transparent 17%), repeating-linear-gradient(105deg, rgba(198,95,255,.18) 0 5px, transparent 5px 16px), #08040e; opacity: 0; }
.zc-portal::after { width: min(240px,45vw); height: min(240px,45vw); content: ""; border: 2px solid rgba(224,148,255,.72); box-shadow: 0 0 28px rgba(169,62,255,.92), inset 0 0 24px rgba(169,62,255,.64); transform: rotate(45deg) scale(.2); }
.zc-portal.is-active { animation: zc-portal-in 560ms ease-in forwards; }
.zc-portal.is-active::after { animation: zc-portal-ring 560ms cubic-bezier(.12,.72,.28,1) forwards; }
@keyframes zc-portal-in { 0%{opacity:0} 28%,80%{opacity:1} 100%{opacity:0} }
@keyframes zc-portal-ring { 0%{transform:rotate(45deg) scale(.2);opacity:0} 28%{opacity:1} 100%{transform:rotate(225deg) scale(2.3);opacity:0} }
@media (max-width:640px) { .zc-home{top:12px;left:14px;font-size:12px}.zc-project{top:13px;right:14px}.zc-status{right:14px;bottom:61px}.zc-home::after{position:fixed;right:0;bottom:0;left:0;height:44px;content:"返回 ZHENCRAFT";padding-top:14px;color:rgba(255,255,255,.74);background:rgba(4,4,6,.8);border-top:1px solid rgba(255,255,255,.18);font-size:11px;font-weight:400;letter-spacing:0;text-align:center} }
@media (prefers-reduced-motion:reduce) { .zc-portal.is-active,.zc-portal.is-active::after{animation-duration:1ms} }
