/* Hell's White Sheep V34 final technical polish */
:root{--v34-safe-bottom:env(safe-area-inset-bottom,0px);--v34-safe-left:env(safe-area-inset-left,0px);--v34-safe-right:env(safe-area-inset-right,0px)}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.tactical-map .marker-hit-area{fill:transparent;stroke:none;pointer-events:all}
.court-dot{position:relative}.court-dot::before{content:"";position:absolute;inset:-14px -7px}
.mirror-living-jewel::before{content:"";position:absolute;inset:-12px;transform:rotate(-45deg);border-radius:50%}
.world-switcher-copy small{opacity:.9;line-height:1.35}.music-copy small{opacity:.88}
footer{font-size:max(.70rem,11px)!important}footer span{line-height:1.55}
.chapter-rail a span{color:#82938e!important}.draw-result em{font-size:max(.54rem,9px)!important;color:#a6aaa5!important}.draw-result b{font-size:max(.62rem,10px)!important}
.day-planner-head small,.day-phase small,.day-reset{font-size:max(.58rem,9.5px)!important}.trait small{font-size:max(.66rem,10.5px)!important}.archive-document-footer{font-size:max(.58rem,9.5px)!important}
@media(max-width:700px){
 .world-switcher-button{right:calc(.7rem + var(--v34-safe-right))!important;bottom:calc(.7rem + var(--v34-safe-bottom))!important}
 .music-player{left:calc(.7rem + var(--v34-safe-left))!important;bottom:calc(.7rem + var(--v34-safe-bottom))!important}
 .reflection-dock{right:calc(.7rem + var(--v34-safe-right))!important;bottom:calc(4.25rem + var(--v34-safe-bottom))!important}
 footer{display:grid!important;gap:.55rem!important;padding-bottom:calc(10.75rem + var(--v34-safe-bottom))!important}
 footer>span{display:block!important}footer>span+span{margin-top:.35rem!important}
 .world-switcher-copy small,.archive-record-tab small,.estate-directory small,.tactical-role span{font-size:max(.58rem,9px)!important}
 .nav-links a{font-size:max(.56rem,9px)!important}
}
@media(max-width:340px){
 body:has(.music-player.collapsed) .world-switcher-button{bottom:calc(6.65rem + var(--v34-safe-bottom))!important}
 body:has(.music-player.collapsed) .reflection-dock{bottom:calc(10.25rem + var(--v34-safe-bottom))!important}
 body:has(.music-player:not(.collapsed)) .world-switcher-button,body:has(.music-player:not(.collapsed)) .reflection-dock{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
 footer{padding-bottom:calc(12rem + var(--v34-safe-bottom))!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
