/* Launch polish (QA 40): small controls get a 44px hit area on phones. The extra area is an
   invisible layer around the control, so nothing moves and nothing changes size on screen. */
.wordmark,.find-mine,.sheet-close{position:relative}
.wordmark::after,.find-mine::after,.sheet-close::after{content:"";position:absolute;top:50%;left:-6px;right:-6px;height:max(44px,100%);transform:translateY(-50%)}
.find-mine::after,.sheet-close::after{left:0;right:0}
/* First paint. When boot.js has not drawn the day's pack (the source tree, or a day only the game can
   draw), the start page waits unseen for app.js and then fades in whole, never as an empty pack and a
   blank red button. If the game never starts, the page shows anyway after four seconds. */
:root:not([data-first-paint]) :is(.site-header,#start-view,.page-footer){transition:opacity .22s ease-out}
:root:not([data-app-ready]):not([data-first-paint]) :is(.site-header,#start-view,.page-footer){opacity:0;animation:start-wait 0s 4s forwards}
@keyframes start-wait{to{opacity:1}}
/* While the pack opens and the album arrives, the footer's links wait off stage; they come back with question 1. */
body:has(.start-page[data-opening],.album-shell[data-story]) .page-footer{opacity:0;visibility:hidden}
.page-footer{transition:opacity .3s ease-out,visibility 0s}
