/* Shared homepage artwork; only the title asset and typography vary by language. */
.portal-home{--home-wordmark:url('/media/shenge-fenzheng-wordmark-v1.webp');background-color:#0d1420;background-image:url('/media/home-temple-storm-v2.webp');background-attachment:scroll}
.portal-home::before{background:linear-gradient(180deg,#060c1526,transparent 40%,#060c151a 66%,#070c15bd)}
html[lang=en] .portal-home{--home-wordmark:url('/media/god-conflict-cards-wordmark-v2.webp')}
.home-shell{padding:clamp(52px,7vh,86px) 24px 18px;gap:22px}
.home-shell header{width:min(940px,76vw);text-shadow:0 2px 6px #000}
.home-shell h1{position:relative;margin:0;line-height:1;letter-spacing:0;text-indent:0}
.home-title-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.home-wordmark{display:block;width:100%;aspect-ratio:2171/724;background:var(--home-wordmark) center/contain no-repeat;filter:brightness(.91) drop-shadow(0 5px 8px #05070bc9)}
.home-eyebrow{display:none}
.home-subtitle{max-width:800px;margin:8px auto 0;font:small-caps clamp(11px,1.1vw,16px)/1.6 Georgia,serif;letter-spacing:.15em;color:#e7d4ae;text-wrap:balance}
.home-entry{width:min(440px,92vw);margin-top:clamp(12px,4vh,64px);padding:16px 26px 4px;background:linear-gradient(180deg,#0c1418a8,#0a1118e8 48%,#0b131be6);border:1px solid #ba9c5a70;border-top-color:#dcc187b3;border-radius:3px;box-shadow:0 14px 44px #0005,inset 0 1px #f6d9a214}
.home-entry a,.home-entry button{border-radius:2px;transition:border-color .15s,background .15s}
.home-entry .home-primary,.home-entry form button{font:small-caps 22px/1.3 Georgia,serif;letter-spacing:.12em;background:linear-gradient(120deg,#665132,#2e2c26 56%,#58452b);border-color:#b69a60;box-shadow:inset 0 1px #e9cf9440,0 2px 7px #0005}
.home-entry .home-primary:hover,.home-entry form button:hover{background:linear-gradient(120deg,#7b613c,#3b372b 56%,#6b5331);border-color:#edce8d}
.home-entry .home-secondary a{background:#15202acc;border-color:#94815d99;font:15px/1.4 Georgia,serif;color:#e5d6b9}
#home-welcome{margin:0 0 12px;font:14px/1.5 Georgia,serif;color:#ddcaa6}
#home-status:empty{display:none}
.home-footnote,#home-first{color:#bcb8a9;line-height:1.6}
.home-language{position:absolute;top:max(10px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));margin:0}
.home-language label{font-size:12px;gap:8px;color:#d5c5a3}
.home-language select{min-height:32px;background:#0c141dd9;border-color:#a28a5e99;font-size:12px}
html[lang=zh-CN] .home-subtitle,html[lang=zh-CN] #home-welcome,html[lang=zh-CN] .home-entry .home-primary,html[lang=zh-CN] .home-entry form button,html[lang=zh-CN] .home-entry .home-secondary a{font-family:'Songti SC','STSong','SimSun',serif}
html[lang=zh-CN] .home-entry .home-primary,html[lang=zh-CN] .home-entry form button{font-weight:600;letter-spacing:.2em}
@media(max-height:550px) and (orientation:landscape){
 .home-shell{padding:14px max(20px,env(safe-area-inset-right)) 8px;gap:12px;justify-content:space-between}
 .home-shell header{width:min(440px,53vw)}
 .home-subtitle{font-size:10px;letter-spacing:.08em;margin:0 auto;max-width:420px;line-height:1.35}
 .home-entry{width:min(380px,47vw);margin-top:0;padding:9px 18px 3px}
 .home-entry .home-primary,.home-entry form button{font-size:17px;padding:7px 14px}
 .home-entry .home-secondary a{font-size:12px;padding:6px 8px}
 #home-welcome{font-size:12px;margin:0 0 6px}
 #home-first{margin:5px 0;font-size:10px}
 .home-footnote{font-size:9px;line-height:1.4;margin:5px 0}
 .home-entry .home-text{font-size:10px;padding:2px 8px;margin:4px auto 0}
 .home-entry input{padding:7px;margin:6px 0}
 .home-entry label{font-size:12px}
 .home-language{right:max(10px,env(safe-area-inset-right));top:5px}
 .home-language label{font-size:10px;gap:5px}
 .home-language select{min-height:28px;padding:3px 6px;font-size:11px}
}
@media(max-width:600px) and (orientation:portrait){
 .home-shell{padding:86px 16px 20px;gap:36px}
 .home-shell header{width:96vw}
 .home-subtitle{max-width:88vw;font-size:11px;letter-spacing:.08em}
 .home-entry{margin-top:22vh;padding:16px 20px 4px}
 .portal-home{background-position:50% 50%}
}
@media(prefers-reduced-motion:reduce){.home-entry a,.home-entry button{transition:none}}


