/* The hat is outside the icon and does not obscure the game art. */
.game-icon:has(>.game-anniversary-hat){position:relative;overflow:visible}
.game-anniversary-hat{position:absolute;z-index:3;left:-9px;top:-12px;width:22px;height:23px;pointer-events:none;transform:rotate(-14deg);filter:drop-shadow(0 1px 1px rgb(0 0 0 / .35))}
.game-anniversary-hat svg{display:block;width:100%;height:100%;overflow:visible}
/* The scroll viewport clips content above its top edge. Give the first game
   room for its hat without changing the alignment of the version rails. */
#calendar-grid.version-calendar:has(>.timeline-game:first-of-type .game-anniversary-hat){padding-top:14px}
