/* Astroverse fast batch: common shell refinements, scoped to Astroverse pages */
:root{--avfast-bg:#fbf8f2;--avfast-line:#e7dac7;--avfast-gold:#a87820;--avfast-plum:#3a2038}
.avs-shell{isolation:isolate}.avs-shell .avs-brand{flex-shrink:0}.avs-shell .avs-nav{scrollbar-width:thin}.avs-shell .avs-nav a{white-space:nowrap}.avs-shell a:focus-visible,.avs-shell button:focus-visible,.avfast-overlay a:focus-visible,.avfast-overlay button:focus-visible,.avfast-overlay input:focus-visible{outline:3px solid #b7872a;outline-offset:3px}
/* Duplicate legacy headers are removed in templates; local page navigation remains visible. */
body:has(>.avs-shell) img{max-width:100%;height:auto}body:has(>.avs-shell) table{max-width:100%}body:has(>.avs-shell) main{min-width:0}body:has(>.avs-shell) .avp-wrap,body:has(>.avs-shell) .av-home-wrap,body:has(>.avs-shell) .num-wrap{max-width:min(100%,1240px);margin-inline:auto}
.avfast-overlay[hidden]{display:none!important}.avfast-overlay{position:fixed;z-index:99999;inset:0;background:rgba(29,21,35,.54);display:flex;align-items:flex-start;justify-content:center;padding:clamp(20px,10vh,100px) 14px 20px;overflow:auto}.avfast-open{overflow:hidden}.avfast-dialog{width:min(100%,620px);max-height:80vh;background:#fffdfa;color:#27232a;border:1px solid var(--avfast-line);box-shadow:0 24px 90px rgba(25,12,30,.29);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:12px}.avfast-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.avfast-head label{font-family:Georgia,serif;font-size:23px;color:var(--avfast-plum);font-weight:700}.avfast-close{border:1px solid var(--avfast-line);border-radius:10px;background:white;font-size:24px;width:38px;height:38px;cursor:pointer;color:var(--avfast-plum)}#avfast-input{width:100%;font:inherit;font-size:16px;padding:13px;border:1px solid #ccb899;border-radius:12px;background:white;color:#27232a}.avfast-results{overflow:auto;min-height:56px}.avfast-result{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:13px;border-bottom:1px solid #f1e9db;border-radius:8px;text-decoration:none;color:var(--avfast-plum)!important}.avfast-result.is-selected,.avfast-result:hover{background:#f9f0db}.avfast-result-title{font-weight:700}.avfast-result-sub{font-size:12px;color:#776d74}.avfast-empty{margin:18px 3px;color:#6f6a67}.avfast-help{font-size:12px;color:#777;margin:0}
@media(max-width:850px){.avs-shell-inner{gap:8px}.avs-nav{width:100%;order:3;justify-content:flex-start;overflow-x:auto}.avs-shell .avs-actions{margin-left:auto}.avfast-dialog{padding:14px}.avfast-result{align-items:flex-start;flex-direction:column;gap:3px}}
@media(prefers-reduced-motion:reduce){.avs-shell *, .avfast-overlay *{scroll-behavior:auto!important;transition:none!important}}
