/* 《尚书释天》独立展页的横屏入口 */
body.horizontal-full #shitian{padding:0!important;background:#1c0c0c;color:#ead7b2}
#shitian .st-portal{position:relative;isolation:isolate;width:100%;min-height:100%;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(440px,1.1fr);align-items:center;padding:clamp(28px,5.2vw,78px) clamp(42px,7vw,108px);background:radial-gradient(ellipse at 75% 45%,#73402e 0%,#43211c 32%,#281112 68%,#190b0c 100%)}
#shitian .st-portal:before{content:"";position:absolute;inset:18px;border:1px solid #d6ae6b33;pointer-events:none;z-index:2}
#shitian .st-portal:after{content:"";position:absolute;inset:0;z-index:-1;opacity:.34;background-image:radial-gradient(#e9c891 1px,transparent 1px),radial-gradient(#fff0c3 1px,transparent 1px);background-position:10px 20px,55px 70px;background-size:103px 97px,173px 157px;mask-image:linear-gradient(90deg,transparent 10%,#000 55%)}
#shitian .st-copy{position:relative;z-index:3;max-width:620px}
#shitian .st-kicker{margin:0 0 25px;color:#d8b777;font:11px/1.5 system-ui,sans-serif;letter-spacing:.28em}
#shitian .st-kicker:before{content:"";display:inline-block;width:40px;height:1px;margin:0 12px 3px 0;background:#c8a368}
#shitian .st-copy h2{margin:0;color:#f4e0bd;font:400 clamp(48px,6.2vw,88px)/1.12 'Songti SC',STSong,serif;letter-spacing:.13em;text-shadow:0 4px 24px #10070755}
#shitian .st-subtitle{margin:16px 0 25px;color:#dabf8d;font:clamp(16px,1.8vw,24px)/1.6 'Songti SC',STSong,serif;letter-spacing:.14em}
#shitian .st-intro{max-width:470px;margin:0;color:#e4cfb0c9;font:14px/2 'Songti SC',STSong,serif}
#shitian .st-enter{display:inline-flex;align-items:center;gap:42px;margin-top:30px;padding:15px 22px;background:#d4b478;color:#25120f;border:1px solid #e1c892;text-decoration:none;font:600 12px/1.3 system-ui,sans-serif;letter-spacing:.12em;transition:background .2s,transform .2s}
#shitian .st-enter:hover,#shitian .st-enter:focus-visible{background:#ead2a2;transform:translateY(-2px);outline-offset:4px}
#shitian .st-themes{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 0;padding:0;list-style:none;color:#d4b991;font:11px/1.6 system-ui,sans-serif;letter-spacing:.1em}
#shitian .st-themes li+li:before{content:'·';margin-right:10px;color:#9b7952}
#shitian .st-sky{position:relative;width:min(100%,680px);aspect-ratio:1.18;margin:auto;display:grid;place-items:center}
#shitian .st-sky:before{content:"";position:absolute;width:75%;height:75%;border-radius:50%;background:radial-gradient(circle,#e4ba7550,transparent 68%);filter:blur(24px)}
#shitian .st-sky svg{position:relative;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 20px 24px #12050580)}
#shitian .st-caption{position:absolute;right:6%;bottom:9%;color:#d9ba88aa;font:10px/1.7 system-ui,sans-serif;letter-spacing:.22em;text-align:right}
#shitian .st-footnote{position:absolute;left:clamp(42px,7vw,108px);bottom:25px;color:#c8ad8677;font:10px/1.4 system-ui,sans-serif;letter-spacing:.12em}
@media(max-width:800px){#shitian .st-portal{grid-template-columns:1fr 1fr;padding:30px 28px}#shitian .st-portal:before{inset:10px}#shitian .st-copy h2{font-size:clamp(37px,7vw,60px)}#shitian .st-subtitle{font-size:15px}#shitian .st-intro{font-size:12px}#shitian .st-enter{margin-top:18px;gap:15px;padding:12px 14px}#shitian .st-themes{margin-top:16px;gap:5px;font-size:10px}#shitian .st-footnote{left:28px;bottom:12px}#shitian .st-caption{display:none}}
@media(max-width:560px) and (orientation:portrait){#shitian .st-portal{grid-template-columns:1fr;align-content:center;padding:40px 28px}#shitian .st-copy{z-index:3}#shitian .st-sky{position:absolute;width:100%;right:-26%;bottom:2%;opacity:.42}#shitian .st-kicker{margin-bottom:16px}#shitian .st-footnote{bottom:10px}}
@media(min-width:600px) and (max-height:600px) and (orientation:landscape){
 #shitian .st-portal{height:100%;min-height:100%;grid-template-columns:1.1fr 1fr;padding:12px 6vw}
 #shitian .st-portal:before{inset:8px}
 #shitian .st-kicker{margin:0 0 8px;font-size:9px}
 #shitian .st-copy h2{font-size:clamp(32px,5vw,48px)}
 #shitian .st-subtitle{margin:5px 0 9px;font-size:14px}
 #shitian .st-intro{font-size:11px;line-height:1.5;max-width:390px}
 #shitian .st-enter{margin-top:10px;padding:9px 15px;gap:25px;font-size:10px}
 #shitian .st-themes{margin-top:9px;gap:6px;font-size:9px}
 #shitian .st-sky{height:min(100%,225px);width:auto;max-width:100%}
 #shitian .st-caption{display:none}
 #shitian .st-footnote{left:6vw;bottom:7px;font-size:9px}
}
#shitian .st-portal{height:100%;min-height:0}
#shitian .st-sky{height:100%;max-height:100%;width:auto;max-width:100%}
@media(min-width:600px) and (max-height:600px) and (orientation:landscape){#shitian .st-sky{height:min(100%,225px)}}
@media(max-width:560px) and (orientation:portrait){#shitian .st-sky{height:auto;width:100%}}
/* 天仪动态仅在入口可见时运行；可随时暂停。 */
#shitian .st-motion{position:absolute;z-index:4;right:clamp(42px,7vw,108px);bottom:21px;padding:7px 11px;border:1px solid #d1b07b77;background:#2a1412aa;color:#e7d0a5;font:10px/1.2 system-ui,sans-serif;letter-spacing:.06em;cursor:pointer}
#shitian .st-motion[hidden]{display:none}
#shitian .st-motion:hover,#shitian .st-motion:focus-visible{background:#67452b;outline:2px solid #f1d19a;outline-offset:3px}
#shitian.is-animating .st-stars circle{animation:st-twinkle 2.8s ease-in-out infinite alternate}
#shitian.is-animating .st-stars circle:nth-child(2n){animation-delay:-1.4s}
#shitian.is-animating .st-stars circle:nth-child(3n){animation-delay:-.7s}
#shitian.is-animating [data-st-body] circle:first-child{animation:st-halo 3s ease-in-out infinite alternate}
@keyframes st-twinkle{from{opacity:.28}to{opacity:1}}
@keyframes st-halo{from{opacity:.07}to{opacity:.22}}
@media(min-width:600px) and (max-height:600px) and (orientation:landscape){#shitian .st-motion{right:6vw;bottom:5px;padding:4px 8px;font-size:9px}}
@media(max-width:560px) and (orientation:portrait){#shitian .st-motion{right:28px;bottom:8px;padding:5px 8px}}
@media(prefers-reduced-motion:reduce){#shitian.is-animating .st-stars circle,#shitian.is-animating [data-st-body] circle:first-child{animation:none}}
