/* Keep the rotated photograph inside the viewport, never upscale it. */
html body[data-studio-page=genshin]::before{width:min(1536px,100svh,calc(100vw * 1536 / 695))!important;height:auto!important;aspect-ratio:1536 / 695!important;background-size:100% 100%!important;position:fixed!important;transform:translate(-50%,-50%) rotate(-90deg)!important;animation:none!important;transition:none!important}
html body[data-studio-page=genshin] #combatArchive#combatArchive .ca-home-head :is(h1,h2,p,small),html body[data-studio-page=genshin] #combatArchive#combatArchive .sgrowth-entry{color:#fff!important;-webkit-text-fill-color:#fff!important;-webkit-text-stroke:.55px #081e30!important;paint-order:stroke fill!important;text-shadow:-1px -1px 0 #081e30,1px -1px 0 #081e30,-1px 1px 0 #081e30,1px 1px 0 #081e30,0 2px 3px #081e30!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body[data-studio-page=genshin] #combatArchive#combatArchive .ca-home-head h2{-webkit-text-stroke:1.2px #081e30!important;font-weight:500!important}
html body[data-studio-page=genshin] #combatArchive#combatArchive .ca-home-tile b{color:#fff!important;-webkit-text-fill-color:#fff!important;-webkit-text-stroke:.65px #081e30!important;paint-order:stroke fill!important;text-shadow:-1px -1px 0 #081e30,1px 1px 0 #081e30,0 2px 3px #081e30!important;background:transparent!important;border:0!important;box-shadow:none!important}

/* Emergency privacy: discard only the screenshot HUD strip before rotation. */
html body[data-studio-page=genshin]::before{clip-path:none!important}

/* Sanitized source; original HUD-bearing file is also replaced in this branch. */
html body[data-studio-page=genshin]::before{background-image:url('/images/genshin/archive-background-private-20261103.jpg')!important}

/* Anchor to the stable small viewport, not the changing browser-toolbar height. */
html body[data-studio-page=genshin]::before{top:calc(100svh / 2)!important;left:50%!important;transform:translate3d(-50%,-50%,0) rotate(-90deg)!important;will-change:transform;backface-visibility:hidden;-webkit-backface-visibility:hidden}
html:has(body[data-studio-page=genshin]),html body[data-studio-page=genshin]{overscroll-behavior-y:none!important}


/* HOME: readable section dividers without restoring text boxes. */
html body[data-studio-page=genshin] #combatArchive#combatArchive .ca-home-head h2{display:inline-block!important;padding-bottom:9px!important;border-bottom:2px solid #e8d09a!important;box-shadow:0 2px 0 #102a3a!important}
html body[data-studio-page=genshin] #combatArchive#combatArchive .ca-home-tile b{text-decoration:underline!important;text-decoration-color:#f0dbad!important;text-decoration-thickness:1px!important;text-underline-offset:7px!important;line-height:1.65!important}
html body[data-studio-page=genshin] #combatArchive#combatArchive .ca-home-tile{border-bottom:1px solid #c9b78599!important}

/* 2026-11-04: place the existing entry boxes immediately below Stygian. */
html body[data-studio-page=genshin] #combatArchive .ca-home-head{display:none!important;margin:0!important;padding:0!important}
html body[data-studio-page=genshin] #combatArchive #genshinStygianEntry{margin:0 0 12px!important;padding:0!important}
html body[data-studio-page=genshin] #combatArchive #genshinStygianEntry .sg-stygian-entry{margin:0!important}
html body[data-studio-page=genshin] #combatArchive .ca-home-grid{margin-top:0!important;padding-top:0!important}
